You are here

protected static property ApiTestBase::$modules in Lightning API 8

Same name and namespace in other branches
  1. 8.2 modules/api_test/tests/src/Functional/ApiTestBase.php \Drupal\Tests\api_test\Functional\ApiTestBase::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/api_test/tests/src/Functional/ApiTestBase.php, line 15

Class

ApiTestBase

Namespace

Drupal\Tests\api_test\Functional

Code

protected static $modules = [
  'api_test',
];