public function DeletedFieldsRepository::getFieldStorageDefinitions in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/DeletedFieldsRepository.php \Drupal\Core\Field\DeletedFieldsRepository::getFieldStorageDefinitions()
Returns a list of deleted field storage definitions.
Return value
\Drupal\Core\Field\FieldStorageDefinitionInterface[] An array of field storage definition objects, keyed by their unique storage identifier.
Overrides DeletedFieldsRepositoryInterface::getFieldStorageDefinitions
File
- core/
lib/ Drupal/ Core/ Field/ DeletedFieldsRepository.php, line 49
Class
- DeletedFieldsRepository
- Provides a repository for deleted field and field storage objects.
Namespace
Drupal\Core\FieldCode
public function getFieldStorageDefinitions() {
return $this->state
->get('field.storage.deleted', []);
}