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