function DeletedFieldsRepositoryInterface::getFieldDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php \Drupal\Core\Field\DeletedFieldsRepositoryInterface::getFieldDefinitions()
  2. 8.9.x core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php \Drupal\Core\Field\DeletedFieldsRepositoryInterface::getFieldDefinitions()
  3. 10 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

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.