protected function ContentEntityStorage::readFieldItemsToPurge in MongoDB 8
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
- src/
Entity/ ContentEntityStorage.php, line 339 - Contains Drupal\mongodb\Entity\ContentEntityStorage.
Class
Namespace
Drupal\mongodb\EntityCode
protected function readFieldItemsToPurge(FieldDefinitionInterface $field_definition, $batch_size) {
// TODO: Implement readFieldItemsToPurge() method.
return [];
}