KernelTestBase::$modules
Modules to install.
The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.
Type: array
See also
\Drupal\KernelTests\KernelTestBase::enableModules()
\Drupal\KernelTests\KernelTestBase::bootKernel()
File
- 
              core/tests/ Drupal/ KernelTests/ KernelTestBase.php, line 148 
Class
- KernelTestBase
- Base class for functional integration tests.
Namespace
Drupal\KernelTestsCode
protected static $modules = [];Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
