service bundle_test_class

Class

Drupal\bundle_test\TestClass

Tags

  • event_subscriber
  • needs_destruction
4 string references to bundle_test_class
BundleTest::testBundleRegistration in drupal/core/modules/system/lib/Drupal/system/Tests/Bundle/BundleTest.php
Tests that services provided by module bundles get registered to the DIC.
BundleTest::testBundleRegistrationDynamic in drupal/core/modules/system/lib/Drupal/system/Tests/Bundle/BundleTest.php
Tests that the DIC keeps up with module enable/disable in the same request.
DrupalKernelTest::testCompileDIC in drupal/core/modules/system/lib/Drupal/system/Tests/DrupalKernel/DrupalKernelTest.php
Tests DIC compilation.
ServiceDestructionTest::testDestructionUsed in drupal/core/modules/system/lib/Drupal/system/Tests/DrupalKernel/ServiceDestructionTest.php
Verifies that services are destructed when used.

File

drupal/core/modules/system/tests/modules/bundle_test/bundle_test.services.yml
drupal/core/modules/system/tests/modules/bundle_test/bundle_test.services.yml

View source
  1. class: Drupal\bundle_test\TestClass
  2. tags:
  3. - { name: event_subscriber }
  4. - { name: needs_destruction }
  5. arguments:
  6. - '@state'