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

Class

Drupal\Core\Entity\EntityTypeListener
7 string references to entity_type.listener
EntityDefinitionTestTrait::doEntityUpdate in core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
Performs an entity type definition update.
EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Ensures that a new entity level index is created when data exists.
EntityDefinitionUpdateTest::testDefinitionEvents in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests entity type and field storage definition events.
EntityDefinitionUpdateTest::testEntityIndexCreateDeleteWithoutData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating and deleting a multi-field index when there are no existing entities.
EntityDefinitionUpdateTest::testEntityIndexCreateWithData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating a multi-field index when there are existing entities.

... See full list

File

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

View source
  1. class: Drupal\Core\Entity\EntityTypeListener
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@entity_field.manager'
  5. - '@event_dispatcher'
  6. - '@entity.last_installed_schema.repository'