You are here

protected function MaskContentEntityStorage::readFieldItemsToPurge in Chaos Tool Suite (ctools) 8.3

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.

Overrides ContentEntityStorageBase::readFieldItemsToPurge

File

modules/ctools_entity_mask/src/MaskContentEntityStorage.php, line 18

Class

MaskContentEntityStorage
Storage handler that simulates a full save, without writing to the database.

Namespace

Drupal\ctools_entity_mask

Code

protected function readFieldItemsToPurge(FieldDefinitionInterface $field_definition, $batch_size) {
  return [];
}