function DeletedFieldsRepositoryInterface::addFieldStorageDefinition

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

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