You are here

public static property HooksExampleTest::$modules in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/hooks_example/tests/src/Functional/HooksExampleTest.php \Drupal\Tests\hooks_example\Functional\HooksExampleTest::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

hooks_example/tests/src/Functional/HooksExampleTest.php, line 25

Class

HooksExampleTest
Test the functionality of the Hooks Example module.

Namespace

Drupal\Tests\hooks_example\Functional

Code

public static $modules = [
  'help',
  'hooks_example',
];