Reacts to entity type CRUD on behalf of the Entity system.
Hierarchy
- class \Drupal\Core\Entity\EntityTypeListener implements EntityTypeListenerInterface
See also
\Drupal\Core\Entity\EntityTypeEvents
File
- core/lib/Drupal/Core/Entity/EntityTypeListener.php, line 12
Namespace
Drupal\Core\Entity
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityTypeListener::$entityFieldManager | protected | property | The entity field manager. |
EntityTypeListener::$entityLastInstalledSchemaRepository | protected | property | The entity last installed schema repository. |
EntityTypeListener::$entityTypeManager | protected | property | The entity type manager. |
EntityTypeListener::$eventDispatcher | protected | property | The event dispatcher. |
EntityTypeListener::onEntityTypeCreate | public | function | Reacts to the creation of the entity type. Overrides EntityTypeListenerInterface::onEntityTypeCreate |
EntityTypeListener::onEntityTypeDelete | public | function | Reacts to the deletion of the entity type. Overrides EntityTypeListenerInterface::onEntityTypeDelete |
EntityTypeListener::onEntityTypeUpdate | public | function | Reacts to the update of the entity type. Overrides EntityTypeListenerInterface::onEntityTypeUpdate |
EntityTypeListener::__construct | public | function | Constructs a new EntityTypeListener. |
Please login to continue.