protected function LanguageConfigurationElementTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php \Drupal\Tests\language\Functional\LanguageConfigurationElementTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ language/ tests/ src/ Functional/ LanguageConfigurationElementTest.php, line 36
Class
- LanguageConfigurationElementTest
- Tests the features of the language configuration element field.
Namespace
Drupal\Tests\language\FunctionalCode
protected function setUp() : void {
parent::setUp();
$user = $this
->drupalCreateUser([
'access administration pages',
'administer languages',
'administer content types',
]);
$this
->drupalLogin($user);
}