FieldDefinitionListenerInterface::onFieldDefinitionUpdate

public FieldDefinitionListenerInterface::onFieldDefinitionUpdate(FieldDefinitionInterface $field_definition, FieldDefinitionInterface $original)

Reacts to the update of a field.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition being updated.

\Drupal\Core\Field\FieldDefinitionInterface $original: The original field definition; i.e., the definition before the update.

File

core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php, line 26

Class

FieldDefinitionListenerInterface
Defines an interface for reacting to field creation, deletion, and updates.

Namespace

Drupal\Core\Field

Code

public function onFieldDefinitionUpdate(FieldDefinitionInterface $field_definition, FieldDefinitionInterface $original);
doc_Drupal
2016-10-29 09:11:28
Comments
Leave a Comment

Please login to continue.