You are here

public function DeletedFieldsRepositoryInterface::getFieldDefinitions in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php \Drupal\Core\Field\DeletedFieldsRepositoryInterface::getFieldDefinitions()

Returns a list of deleted field definitions.

Parameters

string $field_storage_unique_id: (optional) A unique ID of field storage definition for filtering the deleted fields. Defaults to NULL.

Return value

\Drupal\Core\Field\FieldDefinitionInterface[] An array of field definition objects, keyed by their unique identifier.

1 method overrides DeletedFieldsRepositoryInterface::getFieldDefinitions()
DeletedFieldsRepository::getFieldDefinitions in core/lib/Drupal/Core/Field/DeletedFieldsRepository.php
Returns a list of deleted field definitions.

File

core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php, line 22

Class

DeletedFieldsRepositoryInterface
Provides an interface for a deleted fields repository.

Namespace

Drupal\Core\Field

Code

public function getFieldDefinitions($field_storage_unique_id = NULL);