1.20.x entity.module entity_delete_multiple($entity_type, $ids)

Deletes multiple entities permanently.

Parameters

$entity_type: The type of the entity.

$ids: An array of entity IDs of the entities to delete.

File

modules/entity/entity.module, line 513
Entity API for handling entities like nodes or users.

Code

function entity_delete_multiple($entity_type, $ids) {
  entity_get_controller($entity_type)->delete($ids);
}