LanguageUILanguageNegotiationTest::$modules

Same name in other branches
  1. 9 core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php \Drupal\Tests\language\Functional\LanguageUILanguageNegotiationTest::modules
  2. 8.9.x core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php \Drupal\Tests\language\Functional\LanguageUILanguageNegotiationTest::modules
  3. 11.x core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php \Drupal\Tests\language\Functional\LanguageUILanguageNegotiationTest::modules

Modules to install.

We marginally use interface translation functionality here, so need to use the locale module instead of language only, but the 90% of the test is about the negotiation process which is solely in language module.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php, line 73

Class

LanguageUILanguageNegotiationTest
Tests the language UI for language switching.

Namespace

Drupal\Tests\language\Functional

Code

protected static $modules = [
    'locale',
    'language_test',
    'block',
    'user',
    'content_translation',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.