public static property SkeletonTest::$modules in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/testing_example/tests/src/Functional/SkeletonTest.php \Drupal\Tests\testing_example\Functional\SkeletonTest::modules
Modules to install.
This array of modules will be enabled when the fixture Drupal site is built. We leave it empty here because this is a skeleton test. A typical test will enable basic modules like node and user.
Type: string[]
Overrides BrowserTestBase::$modules
File
- testing_example/
tests/ src/ Functional/ SkeletonTest.php, line 81
Class
- SkeletonTest
- Skeleton functional test.
Namespace
Drupal\Tests\testing_example\FunctionalCode
public static $modules = [];