W3cubDocs

/Drupal 8

constant FieldStorageDefinitionEvents::CREATE

Name of the event triggered for field storage definition creation.

This event allows you to respond to the creation of a new field storage definition. The event listener method receives a \Drupal\Core\Field\FieldStorageDefinitionEvent instance.

See also

\Drupal\Core\Field\FieldStorageDefinitionEvent

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

\Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait

Related topics

Events
Overview of event dispatch and subscribing

File

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

Class

FieldStorageDefinitionEvents
Contains all events thrown while handling field storage definitions.

Namespace

Drupal\Core\Field

Code

const CREATE = 'field_storage.definition.create';

© 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::CREATE/8.1.x