You are here

public function ContentEntityStorageBase::onFieldStorageDefinitionUpdate in Drupal 8

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

Reacts to the update of a field storage definition.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being updated.

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

Throws

\Drupal\Core\Entity\Exception\FieldStorageDefinitionUpdateForbiddenException Thrown when the update to the field is forbidden.

Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate

1 method overrides ContentEntityStorageBase::onFieldStorageDefinitionUpdate()
SqlContentEntityStorage::onFieldStorageDefinitionUpdate in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Reacts to the update of a field storage definition.

File

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

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

public function onFieldStorageDefinitionUpdate(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) {
}