LanguageUILanguageNegotiationTest::$modules

Same name and namespace in other branches
  1. 8.9.x core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php \Drupal\Tests\language\Functional\LanguageUILanguageNegotiationTest::modules
  2. 10 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 enable.

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 61

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.