function EntityStorageBase::doDelete

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::doDelete()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::doDelete()
  3. 11.x core/lib/Drupal/Core/Entity/EntityStorageBase.php \Drupal\Core\Entity\EntityStorageBase::doDelete()

Performs storage-specific entity deletion.

Parameters

\Drupal\Core\Entity\EntityInterface[] $entities: An array of entity objects to delete.

1 call to EntityStorageBase::doDelete()
EntityStorageBase::delete in core/lib/Drupal/Core/Entity/EntityStorageBase.php
Deletes permanently saved entities.
3 methods override EntityStorageBase::doDelete()
ConfigEntityStorage::doDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Performs storage-specific entity deletion.
ContentEntityStorageBase::doDelete in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Performs storage-specific entity deletion.
KeyValueEntityStorage::doDelete in core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php
Performs storage-specific entity deletion.

File

core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 473

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

protected abstract function doDelete($entities);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.