public function ContentEntityStorageBase::onFieldDefinitionUpdate

public ContentEntityStorageBase::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.

Overrides FieldDefinitionListenerInterface::onFieldDefinitionUpdate

File

core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 164

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

public function onFieldDefinitionUpdate(FieldDefinitionInterface $field_definition, FieldDefinitionInterface $original) {
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityStorageBase.php/function/ContentEntityStorageBase::onFieldDefinitionUpdate/8.1.x