W3cubDocs

/Drupal 8

trait FieldStorageDefinitionEventSubscriberTrait

Helper methods for FieldStorageDefinitionListenerInterface.

This allows a class implementing FieldStorageDefinitionListenerInterface to subscribe and react to field storage definition events.

Hierarchy

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

© 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