Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \entity_bundle.listener
  2. 9 core/core.services.yml \entity_bundle.listener

Class

Drupal\Core\Entity\EntityBundleListener
4 string references to entity_bundle.listener
ConfigEntityBundleBase::postDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
Acts on deleted entities before the delete hook is invoked.
ConfigEntityBundleBase::postSave in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
Acts on a saved entity before the insert or update hook is invoked.
entity_test_create_bundle in core/modules/system/tests/modules/entity_test/entity_test.module
Creates a new bundle for entity_test entities.
entity_test_delete_bundle in core/modules/system/tests/modules/entity_test/entity_test.module
Deletes a bundle for entity_test entities.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Entity\EntityBundleListener
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@entity_type.bundle.info'
  5. - '@entity_field.manager'
  6. - '@module_handler'