protected static property ServiceProviderTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php \Drupal\KernelTests\Core\ServiceProvider\ServiceProviderTest::modules
Modules to enable.
Type: array
Overrides KernelTestBase::$modules
File
- core/
tests/ Drupal/ KernelTests/ Core/ ServiceProvider/ ServiceProviderTest.php, line 19
Class
- ServiceProviderTest
- Tests service provider registration to the DIC.
Namespace
Drupal\KernelTests\Core\ServiceProviderCode
protected static $modules = [
'file',
'service_provider_test',
'system',
];