function EntityTypeListenerInterface::onEntityTypeDelete
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeDelete()
- 10 core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeDelete()
- 11.x 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.
3 methods override EntityTypeListenerInterface::onEntityTypeDelete()
- 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\EntityCode
public function onEntityTypeDelete(EntityTypeInterface $entity_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.