EntityTypeEvents::DELETE
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeEvents.php \Drupal\Core\Entity\EntityTypeEvents::DELETE
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeEvents.php \Drupal\Core\Entity\EntityTypeEvents::DELETE
- 11.x core/lib/Drupal/Core/Entity/EntityTypeEvents.php \Drupal\Core\Entity\EntityTypeEvents::DELETE
The name of the event triggered when an existing entity type is deleted.
This event allows modules to react whenever an existing entity type is deleted. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance.
See also
\Drupal\Core\Entity\EntityTypeEvent
\Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeDelete()
\Drupal\Core\Entity\EntityTypeEventSubscriberTrait
\Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::onEntityTypeDelete()
Related topics
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeEvents.php, line 62
Class
- EntityTypeEvents
- Contains all events thrown while handling entity types.
Namespace
Drupal\Core\EntityCode
const DELETE = 'entity_type.definition.delete';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.