protected static property NodePreviewLinkTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/tests/src/FunctionalJavascript/NodePreviewLinkTest.php \Drupal\Tests\node\FunctionalJavascript\NodePreviewLinkTest::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
- core/
modules/ node/ tests/ src/ FunctionalJavascript/ NodePreviewLinkTest.php, line 18
Class
- NodePreviewLinkTest
- Tests the JavaScript prevention of navigation away from node previews.
Namespace
Drupal\Tests\node\FunctionalJavascriptCode
protected static $modules = [
'node',
'filter',
];