public FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
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.
File
- core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php, line 29
Class
- FieldStorageDefinitionListenerInterface
- Defines an interface for reacting to field storage definition creation, deletion, and updates.
Namespace
Drupal\Core\Field
Code
public function onFieldStorageDefinitionUpdate(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original);
Please login to continue.