You are here

public function DeletedFieldsRepositoryInterface::addFieldStorageDefinition in Drupal 9

Same name and namespace in other branches
  1. 8 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

1 method overrides DeletedFieldsRepositoryInterface::addFieldStorageDefinition()
DeletedFieldsRepository::addFieldStorageDefinition in core/lib/Drupal/Core/Field/DeletedFieldsRepository.php
Adds a field storage definition object to the deleted list.

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