You are here

protected function ContentEntityStorage::purgeFieldItems in MongoDB 8

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.

Overrides ContentEntityStorageBase::purgeFieldItems

File

src/Entity/ContentEntityStorage.php, line 347
Contains Drupal\mongodb\Entity\ContentEntityStorage.

Class

ContentEntityStorage

Namespace

Drupal\mongodb\Entity

Code

protected function purgeFieldItems(ContentEntityInterface $entity, FieldDefinitionInterface $field_definition) {

  // TODO: Implement purgeFieldItems() method.
}