You are here

public function DeletedFieldsRepositoryInterface::addFieldStorageDefinition in Drupal 10

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

Adds a field storage definition object to the deleted list.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $field_storage_definition: A field storage definition object.

Return value

$this

File

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

Class

DeletedFieldsRepositoryInterface
Provides an interface for a deleted fields repository.

Namespace

Drupal\Core\Field

Code

public function addFieldStorageDefinition(FieldStorageDefinitionInterface $field_storage_definition);