1 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

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

Code

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