You are here

protected static property CommentLanguageTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/CommentLanguageTest.php \Drupal\Tests\comment\Functional\CommentLanguageTest::modules
  2. 10 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\Functional

Code

protected static $modules = [
  'node',
  'language',
  'language_test',
  'comment_test',
];