You are here

abstract protected function ContentEntityStorageBase::purgeFieldItems in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 213
Contains \Drupal\Core\Entity\ContentEntityStorageBase.

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

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