function DeletedFieldsRepositoryInterface::addFieldDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php \Drupal\Core\Field\DeletedFieldsRepositoryInterface::addFieldDefinition()
- 10 core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php \Drupal\Core\Field\DeletedFieldsRepositoryInterface::addFieldDefinition()
- 11.x core/lib/Drupal/Core/Field/DeletedFieldsRepositoryInterface.php \Drupal\Core\Field\DeletedFieldsRepositoryInterface::addFieldDefinition()
Adds a field definition object to the deleted list.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: A field definition object.
Return value
$this
1 method overrides DeletedFieldsRepositoryInterface::addFieldDefinition()
- DeletedFieldsRepository::addFieldDefinition in core/
lib/ Drupal/ Core/ Field/ DeletedFieldsRepository.php - Adds a field definition object to the deleted list.
File
-
core/
lib/ Drupal/ Core/ Field/ DeletedFieldsRepositoryInterface.php, line 41
Class
- DeletedFieldsRepositoryInterface
- Provides an interface for a deleted fields repository.
Namespace
Drupal\Core\FieldCode
public function addFieldDefinition(FieldDefinitionInterface $field_definition);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.