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

Reacts to the update of the entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The updated entity type definition.

\Drupal\Core\Entity\EntityTypeInterface $original: The original entity type definition.

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function onEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original);