function EntityTypeEventSubscriberTrait::onEntityTypeDelete

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onEntityTypeDelete()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onEntityTypeDelete()
  3. 10 core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onEntityTypeDelete()
1 call to EntityTypeEventSubscriberTrait::onEntityTypeDelete()
EntityTypeEventSubscriberTrait::onEntityTypeEvent in core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php
Listener method for any entity type definition event.
3 methods override EntityTypeEventSubscriberTrait::onEntityTypeDelete()
EntitySchemaSubscriber::onEntityTypeDelete in core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php
Reacts to the deletion of the entity type.
EntityTestDefinitionSubscriber::onEntityTypeDelete in core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php
Reacts to the deletion of the entity type.
ViewsEntitySchemaSubscriber::onEntityTypeDelete in core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php
Reacts to the deletion of the entity type.

File

core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php, line 83

Class

EntityTypeEventSubscriberTrait
Helper methods for EntityTypeListenerInterface.

Namespace

Drupal\Core\Entity

Code

public function onEntityTypeDelete(EntityTypeInterface $entity_type) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.