public static property SkeletonTest::$modules in Examples for Developers 3.x
Same name and namespace in other branches
- 8 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
- modules/
testing_example/ tests/ src/ Functional/ SkeletonTest.php, line 81
Class
- SkeletonTest
- Skeleton functional test.
Namespace
Drupal\Tests\testing_example\FunctionalCode
public static $modules = [];