You are here

service entity_test.definition.subscriber in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/entity_test.services.yml \entity_test.definition.subscriber
  2. 9 core/modules/system/tests/modules/entity_test/entity_test.services.yml \entity_test.definition.subscriber

Class

Drupal\entity_test\EntityTestDefinitionSubscriber

Tags

  • event_subscriber
1 string reference to entity_test.definition.subscriber
EntityDefinitionUpdateTest::testDefinitionEvents in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests entity type and field storage definition events.

File

core/modules/system/tests/modules/entity_test/entity_test.services.yml
core/modules/system/tests/modules/entity_test/entity_test.services.yml

View source
  1. class: Drupal\entity_test\EntityTestDefinitionSubscriber
  2. arguments:
  3. - '@state'
  4. - '@entity.last_installed_schema.repository'
  5. - '@entity_type.manager'
  6. - '@entity_field.manager'
  7. tags:
  8. - { name: event_subscriber }