CommentLanguageTest::$modules
Same name in other branches
- 9 core/modules/comment/tests/src/Functional/CommentLanguageTest.php \Drupal\Tests\comment\Functional\CommentLanguageTest::modules
- 10 core/modules/comment/tests/src/Functional/CommentLanguageTest.php \Drupal\Tests\comment\Functional\CommentLanguageTest::modules
- 11.x core/modules/comment/tests/src/Functional/CommentLanguageTest.php \Drupal\Tests\comment\Functional\CommentLanguageTest::modules
Modules to install.
We also use the language_test module here to be able to turn on content language negotiation. Drupal core does not provide a way in itself to do that.
Type: array
Overrides BrowserTestBase::$modules
File
-
core/
modules/ comment/ tests/ src/ Functional/ CommentLanguageTest.php, line 30
Class
- CommentLanguageTest
- Tests for comment language.
Namespace
Drupal\Tests\comment\FunctionalCode
public static $modules = [
'node',
'language',
'language_test',
'comment_test',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.