W3cubDocs

/Drupal 8

constant FieldStorageDefinitionEvents::UPDATE

Name of the event triggered for field storage definition update.

This event allows you to respond anytime a field storage definition is updated. The event listener method receives a \Drupal\Core\Field\FieldStorageDefinitionEvent instance.

See also

\Drupal\Core\Field\FieldStorageDefinitionEvent

\Drupal\Core\Entity\EntityManager::onFieldStorageDefinitionUpdate()

\Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait

Related topics

Events
Overview of event dispatch and subscribing

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionEvents.php, line 42

Class

FieldStorageDefinitionEvents
Contains all events thrown while handling field storage definitions.

Namespace

Drupal\Core\Field

Code

const UPDATE = 'field_storage.definition.update';

© 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!Field!FieldStorageDefinitionEvents.php/constant/FieldStorageDefinitionEvents::UPDATE/8.1.x