Helper methods for FieldStorageDefinitionListenerInterface.
This allows a class implementing FieldStorageDefinitionListenerInterface to subscribe and react to field storage definition events.
Hierarchy
- trait \Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait
See also
\Symfony\Component\EventDispatcher\EventSubscriberInterface
\Drupal\Core\Field\FieldStorageDefinitionListenerInterface
File
- core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php, line 14
Namespace
Drupal\Core\Field
Members
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 |
Please login to continue.