W3cubDocs

/Drupal 8

protected function ContentEntityNullStorage::purgeFieldItems

protected ContentEntityNullStorage::purgeFieldItems(ContentEntityInterface $entity, FieldDefinitionInterface $field_definition)

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

core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 113

Class

ContentEntityNullStorage
Defines a null entity storage.

Namespace

Drupal\Core\Entity

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityNullStorage.php/function/ContentEntityNullStorage::purgeFieldItems/8.1.x