You are here

protected static property LanguageUILanguageNegotiationTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 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

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',
];