entity_test.definition.subscriber

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/entity_test/entity_test.services.yml \entity_test.definition.subscriber
  2. 10 core/modules/system/tests/modules/entity_test/entity_test.services.yml \entity_test.definition.subscriber
  3. 11.x 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

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 }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.