function ContentEntityStorageBase::purgeFieldItems

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

Removes field items from storage per entity during purge.

Parameters

ContentEntityInterface $entity: The entity revision, whose values are being purged.

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field whose values are bing purged.

1 call to ContentEntityStorageBase::purgeFieldItems()
ContentEntityStorageBase::purgeFieldData in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
2 methods override ContentEntityStorageBase::purgeFieldItems()
ContentEntityNullStorage::purgeFieldItems in core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php
Removes field items from storage per entity during purge.
SqlContentEntityStorage::purgeFieldItems in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Removes field items from storage per entity during purge.

File

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

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

protected abstract function purgeFieldItems(ContentEntityInterface $entity, FieldDefinitionInterface $field_definition);

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