function ContentEntityStorageBase::doDeleteFieldItems

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::doDeleteFieldItems()
  2. 10 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::doDeleteFieldItems()
  3. 11.x core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::doDeleteFieldItems()

Deletes entity field values from the storage.

Parameters

\Drupal\Core\Entity\ContentEntityInterface[] $entities: An array of entity objects to be deleted.

1 call to ContentEntityStorageBase::doDeleteFieldItems()
ContentEntityStorageBase::doDelete in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Performs storage-specific entity deletion.
2 methods override ContentEntityStorageBase::doDeleteFieldItems()
ContentEntityNullStorage::doDeleteFieldItems in core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php
Deletes entity field values from the storage.
SqlContentEntityStorage::doDeleteFieldItems in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Deletes entity field values from the storage.

File

core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 807

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

protected abstract function doDeleteFieldItems($entities);

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