Helper methods for FieldStorageDefinitionListenerInterface.
This allows a class implementing FieldStorageDefinitionListenerInterface to subscribe and react to field storage definition events.
\Symfony\Component\EventDispatcher\EventSubscriberInterface
\Drupal\Core\Field\FieldStorageDefinitionListenerInterface
Name | Modifiers | Type | Description |
---|---|---|---|
FieldStorageDefinitionEventSubscriberTrait::getFieldStorageDefinitionEvents | public static | function | Returns the subscribed events. |
FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionCreate | public | function | |
FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionDelete | public | function | |
FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionEvent | public | function | Listener method for any field storage definition event. |
FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionUpdate | public | function |
© 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/trait/FieldStorageDefinitionEventSubscriberTrait/8.1.x