function EntityTypeEventSubscriberTrait::onEntityTypeUpdate
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onEntityTypeUpdate()
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onEntityTypeUpdate()
- 11.x core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php \Drupal\Core\Entity\EntityTypeEventSubscriberTrait::onEntityTypeUpdate()
1 call to EntityTypeEventSubscriberTrait::onEntityTypeUpdate()
- EntityTypeEventSubscriberTrait::onEntityTypeEvent in core/
lib/ Drupal/ Core/ Entity/ EntityTypeEventSubscriberTrait.php - Listener method for any entity type definition event.
4 methods override EntityTypeEventSubscriberTrait::onEntityTypeUpdate()
- EntitySchemaSubscriber::onEntityTypeUpdate in core/
modules/ workspaces/ src/ EventSubscriber/ EntitySchemaSubscriber.php - EntitySchemaSubscriber::onEntityTypeUpdate in core/
modules/ system/ tests/ modules/ entity_test_update/ src/ EventSubscriber/ EntitySchemaSubscriber.php - EntityTestDefinitionSubscriber::onEntityTypeUpdate in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestDefinitionSubscriber.php - ViewsEntitySchemaSubscriber::onEntityTypeUpdate in core/
modules/ views/ src/ EventSubscriber/ ViewsEntitySchemaSubscriber.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeEventSubscriberTrait.php, line 71
Class
- EntityTypeEventSubscriberTrait
- Helper methods for EntityTypeListenerInterface.
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.