LanguageUILanguageNegotiationTest::$modules
Same name in other branches
- 9 core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php \Drupal\Tests\language\Functional\LanguageUILanguageNegotiationTest::modules
- 10 core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php \Drupal\Tests\language\Functional\LanguageUILanguageNegotiationTest::modules
- 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\FunctionalCode
public 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.