abstract protected function ContentEntityStorageBase::readFieldItemsToPurge in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::readFieldItemsToPurge()
- 9 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::readFieldItemsToPurge()
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.
1 call to ContentEntityStorageBase::readFieldItemsToPurge()
- ContentEntityStorageBase::purgeFieldData in core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php - Purges a batch of field data.
2 methods override ContentEntityStorageBase::readFieldItemsToPurge()
- ContentEntityNullStorage::readFieldItemsToPurge in core/
lib/ Drupal/ Core/ Entity/ ContentEntityNullStorage.php - Reads values to be purged for a single field.
- SqlContentEntityStorage::readFieldItemsToPurge in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - Reads values to be purged for a single field.
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php, line 583
Class
- ContentEntityStorageBase
- Base class for content entity storage handlers.
Namespace
Drupal\Core\EntityCode
protected abstract function readFieldItemsToPurge(FieldDefinitionInterface $field_definition, $batch_size);