protected function AdminPathEntityConverterLanguageTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php \Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest::setUp()
- 9 core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php \Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest::setUp()
File
- core/
modules/ language/ tests/ src/ Functional/ AdminPathEntityConverterLanguageTest.php, line 22
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();
}