function AdminPathEntityConverterLanguageTest::setUp
Same name in other branches
- 9 core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php \Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest::setUp()
- 8.9.x core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php \Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest::setUp()
- 11.x core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php \Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ language/ tests/ src/ Functional/ AdminPathEntityConverterLanguageTest.php, line 30
Class
- AdminPathEntityConverterLanguageTest
- Test administration path based conversion of entities.
Namespace
Drupal\Tests\language\FunctionalCode
protected function setUp() : void {
parent::setUp();
$permissions = [
'access administration pages',
'administer site configuration',
];
$this->drupalLogin($this->drupalCreateUser($permissions));
ConfigurableLanguage::createFromLangcode('es')->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.