You are here

public function EntityTypeListenerInterface::onEntityTypeDelete in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeDelete()

Reacts to the deletion of the entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type being deleted.

4 methods override EntityTypeListenerInterface::onEntityTypeDelete()
EntityManager::onEntityTypeDelete in core/lib/Drupal/Core/Entity/EntityManager.php
EntityTypeListener::onEntityTypeDelete in core/lib/Drupal/Core/Entity/EntityTypeListener.php
Reacts to the deletion of the entity type.
SqlContentEntityStorage::onEntityTypeDelete in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php
Reacts to the deletion of the entity type.
SqlContentEntityStorageSchema::onEntityTypeDelete in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Reacts to the deletion of the entity type.

File

core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php, line 62

Class

EntityTypeListenerInterface
Defines an interface for reacting to entity type creation, deletion, and updates.

Namespace

Drupal\Core\Entity

Code

public function onEntityTypeDelete(EntityTypeInterface $entity_type);