W3cubDocs

/Drupal 8

constant FieldStorageDefinitionEvents::DELETE

Name of the event triggered for field storage definition deletion.

This event allows you to respond anytime a field storage definition is deleted. The event listener method receives a \Drupal\Core\Field\FieldStorageDefinitionEvent instance.

See also

\Drupal\Core\Field\FieldStorageDefinitionEvent

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

\Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait

Related topics

Events
Overview of event dispatch and subscribing

File

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

Class

FieldStorageDefinitionEvents
Contains all events thrown while handling field storage definitions.

Namespace

Drupal\Core\Field

Code

const DELETE = 'field_storage.definition.delete';

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