interface EntityBundleListenerInterface
An interface for reacting to entity bundle creation and deletion.
@todo Convert to Symfony events: https://www.drupal.org/node/2332935
Hierarchy
- interface \Drupal\Core\Entity\EntityBundleListenerInterface
File
- core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php, line 10
Namespace
Drupal\Core\EntityMembers
Name | Modifiers | Type | Description |
---|---|---|---|
EntityBundleListenerInterface::onBundleCreate | public | function | Reacts to a bundle being created. |
EntityBundleListenerInterface::onBundleDelete | public | function | Reacts to a bundle being deleted. |
© 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!EntityBundleListenerInterface.php/interface/EntityBundleListenerInterface/8.1.x