You are here

public function EntitySchemaSubscriber::onEntityTypeDelete in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php \Drupal\workspaces\EventSubscriber\EntitySchemaSubscriber::onEntityTypeDelete()
  2. 9 core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php \Drupal\workspaces\EventSubscriber\EntitySchemaSubscriber::onEntityTypeDelete()

Reacts to the deletion of the entity type.

Parameters

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

Overrides EntityTypeEventSubscriberTrait::onEntityTypeDelete

File

core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php, line 119

Class

EntitySchemaSubscriber
Defines a class for listening to entity schema changes.

Namespace

Drupal\workspaces\EventSubscriber

Code

public function onEntityTypeDelete(EntityTypeInterface $entity_type) {

  // Nothing to do here.
}