public static property EventsExampleTest::$modules in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/events_example/tests/src/Functional/EventsExampleTest.php \Drupal\Tests\events_example\Functional\EventsExampleTest::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
- events_example/
tests/ src/ Functional/ EventsExampleTest.php, line 29
Class
- EventsExampleTest
- Test the functionality of the Events Example module.
Namespace
Drupal\Tests\events_example\FunctionalCode
public static $modules = [
'events_example',
];