W3cubDocs

/Drupal 8

abstract protected function ContentEntityStorageBase::readFieldItemsToPurge

abstract protected ContentEntityStorageBase::readFieldItemsToPurge(FieldDefinitionInterface $field_definition, $batch_size)

Reads values to be purged for a single field.

This method is called during field data purge, on fields for which onFieldDefinitionDelete() has previously run.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition.

$batch_size: The maximum number of field data records to purge before returning.

Return value

\Drupal\Core\Field\FieldItemListInterface[] An array of field item lists, keyed by entity revision id.

File

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

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

abstract protected function readFieldItemsToPurge(FieldDefinitionInterface $field_definition, $batch_size);

© 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!ContentEntityStorageBase.php/function/ContentEntityStorageBase::readFieldItemsToPurge/8.1.x