function EntityTypeListenerInterface::onEntityTypeUpdate
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeUpdate()
- 10 core/lib/Drupal/Core/Entity/EntityTypeListenerInterface.php \Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeUpdate()
- 11.x 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.
4 methods override EntityTypeListenerInterface::onEntityTypeUpdate()
- EntityManager::onEntityTypeUpdate in core/
lib/ Drupal/ Core/ Entity/ EntityManager.php - EntityTypeListener::onEntityTypeUpdate in core/
lib/ Drupal/ Core/ Entity/ EntityTypeListener.php - Reacts to the update of the entity type.
- SqlContentEntityStorage::onEntityTypeUpdate in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - Reacts to the update of the entity type.
- SqlContentEntityStorageSchema::onEntityTypeUpdate in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Reacts to the update of the entity type.
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\EntityCode
public function onEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.