ServiceProviderTest::$modules

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php \Drupal\KernelTests\Core\ServiceProvider\ServiceProviderTest::modules
  2. 10 core/tests/Drupal/KernelTests/Core/ServiceProvider/ServiceProviderTest.php \Drupal\KernelTests\Core\ServiceProvider\ServiceProviderTest::modules
  3. 11.x 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\ServiceProvider

Code

public static $modules = [
    'file',
    'service_provider_test',
    'system',
];

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