public static FieldStorageDefinitionEventSubscriberTrait::getFieldStorageDefinitionEvents()
Returns the subscribed events.
array An array of subscribed event names.
\Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()
public static function getFieldStorageDefinitionEvents() { $event = array('onFieldStorageDefinitionEvent', 100); $events[FieldStorageDefinitionEvents::CREATE][] = $event; $events[FieldStorageDefinitionEvents::UPDATE][] = $event; $events[FieldStorageDefinitionEvents::DELETE][] = $event; return $events; }
© 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!FieldStorageDefinitionEventSubscriberTrait.php/function/FieldStorageDefinitionEventSubscriberTrait::getFieldStorageDefinitionEvents/8.1.x