You are here

public static property FrontPageLinkDependenciesTest::$modules in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 testing_example/tests/src/Functional/FrontPageLinkDependenciesTest.php \Drupal\Tests\testing_example\Functional\FrontPageLinkDependenciesTest::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/testing_example/tests/src/Functional/FrontPageLinkDependenciesTest.php, line 33

Class

FrontPageLinkDependenciesTest
Tests core menu behavior.

Namespace

Drupal\Tests\testing_example\Functional

Code

public static $modules = [
  'node',
  'block',
  'user',
];