abstract protected function ContentEntityStorageBase::purgeFieldItems in Drupal 9
Same name and namespace in other branches
- 8 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 - Purges a batch of field data.
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 496
Class
- ContentEntityStorageBase
- Base class for content entity storage handlers.
Namespace
Drupal\Core\EntityCode
protected abstract function purgeFieldItems(ContentEntityInterface $entity, FieldDefinitionInterface $field_definition);