protected function LanguageLocaleListTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Functional/LanguageLocaleListTest.php \Drupal\Tests\language\Functional\LanguageLocaleListTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ language/ tests/ src/ Functional/ LanguageLocaleListTest.php, line 30
Class
- LanguageLocaleListTest
- Adds a new language with translations and tests language list order.
Namespace
Drupal\Tests\language\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Add a default locale storage for all these tests.
$this->storage = $this->container
->get('locale.storage');
}