You are here

public static property KernelTestBase::$modules in Zircon Profile 8

Same name in this branch
  1. 8 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::modules
  2. 8 core/modules/simpletest/src/KernelTestBase.php \Drupal\simpletest\KernelTestBase::modules
Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::modules

Modules to enable.

Test classes extending this class, and any classes in the hierarchy up to this class, may specify individual lists of modules to enable by setting this property. The values of all properties in all classes in the class hierarchy are merged.

Type: array

See also

\Drupal\Tests\KernelTestBase::enableModules()

\Drupal\Tests\KernelTestBase::bootKernel()

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 153
Contains \Drupal\KernelTests\KernelTestBase.

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

public static $modules = array();