class EntityBundleListener
Reacts to entity bundle CRUD on behalf of the Entity system.
Hierarchy
- class \Drupal\Core\Entity\EntityBundleListener implements EntityBundleListenerInterface
File
- core/lib/Drupal/Core/Entity/EntityBundleListener.php, line 10
Namespace
Drupal\Core\EntityMembers
Name | Modifiers | Type | Description |
---|---|---|---|
EntityBundleListener::$entityFieldManager | protected | property | The entity field manager. |
EntityBundleListener::$entityTypeBundleInfo | protected | property | The entity type bundle info. |
EntityBundleListener::$entityTypeManager | protected | property | The entity type manager. |
EntityBundleListener::$moduleHandler | protected | property | The module handler. |
EntityBundleListener::onBundleCreate | public | function | Reacts to a bundle being created. Overrides EntityBundleListenerInterface::onBundleCreate |
EntityBundleListener::onBundleDelete | public | function | Reacts to a bundle being deleted. Overrides EntityBundleListenerInterface::onBundleDelete |
EntityBundleListener::__construct | public | function | Constructs a new EntityBundleListener. |
© 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!EntityBundleListener.php/class/EntityBundleListener/8.1.x