class EntityTypeListener

Reacts to entity type CRUD on behalf of the Entity system.

Hierarchy

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityTypeListener.php/class/EntityTypeListener/8.1.x