You are here

public function ContentEntityStorageBase::onFieldDefinitionUpdate in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php \Drupal\Core\Entity\ContentEntityStorageBase::onFieldDefinitionUpdate()

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 463

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

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