You are here

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

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

ajax_example/tests/src/FunctionalJavascript/SubmitDrivenTest.php, line 23

Class

SubmitDrivenTest
Tests the behavior of the submit-driven AJAX example.

Namespace

Drupal\Tests\ajax_example\FunctionalJavascript

Code

public static $modules = [
  'ajax_example',
];