CommentLanguageTest::$modules

Same name in other branches
  1. 9 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
  3. 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\Functional

Code

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.