service_provider_test_class
Same name in other branches
- 9 core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml \service_provider_test_class
- 8.9.x core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml \service_provider_test_class
- 11.x core/modules/system/tests/modules/service_provider_test/service_provider_test.services.yml \service_provider_test_class
Class
Drupal\service_provider_test\TestClassTags
- needs_destruction
5 string references to service_provider_test_class
- DrupalKernelTest::testCompileDIC in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ DrupalKernelTest.php - Tests DIC compilation.
- ServiceDestructionTest::testDestructionUsed in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ ServiceDestructionTest.php - Verifies that services are destructed when used.
- ServiceProviderTest::testServiceProviderRegistration in core/
tests/ Drupal/ KernelTests/ Core/ ServiceProvider/ ServiceProviderTest.php - Tests that services provided by module service providers get registered to the DIC.
- ServiceProviderTest::testServiceProviderRegistrationDynamic in core/
tests/ Drupal/ KernelTests/ Core/ ServiceProvider/ ServiceProviderTest.php - Tests that the DIC keeps up with module enable/disable in the same request.
- ServiceProviderWebTest::testServiceProviderRegistrationIntegration in core/
modules/ system/ tests/ src/ Functional/ ServiceProvider/ ServiceProviderWebTest.php - Tests that module service providers get registered to the DIC.
File
-
core/
modules/ system/ tests/ modules/ service_provider_test/ service_provider_test.services.yml
View source
- class: Drupal\service_provider_test\TestClass
- tags:
- - { name: needs_destruction }
- arguments:
- - '@state'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.