public static property BatchExampleWebTest::$modules in Examples for Developers 3.x
Same name and namespace in other branches
- 8 batch_example/tests/src/Functional/BatchExampleWebTest.php \Drupal\Tests\batch_example\Functional\BatchExampleWebTest::modules
Modules to enable.
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: string[]
Overrides BrowserTestBase::$modules
See also
\Drupal\Tests\BrowserTestBase::installDrupal()
File
- modules/
batch_example/ tests/ src/ Functional/ BatchExampleWebTest.php, line 24
Class
- BatchExampleWebTest
- Functional tests for the Batch Example module.
Namespace
Drupal\Tests\batch_example\FunctionalCode
public static $modules = [
'node',
'batch_example',
];