function LocaleTranslateStringTourTest::setUp
Same name in other branches
- 8.9.x core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php \Drupal\Tests\locale\Functional\LocaleTranslateStringTourTest::setUp()
- 10 core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php \Drupal\Tests\tour\Functional\Locale\LocaleTranslateStringTourTest::setUp()
- 11.x core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php \Drupal\Tests\tour\Functional\Locale\LocaleTranslateStringTourTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslateStringTourTest.php, line 36
Class
- LocaleTranslateStringTourTest
- Tests the Translate Interface tour.
Namespace
Drupal\Tests\locale\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->adminUser = $this->drupalCreateUser([
'translate interface',
'access tour',
'administer languages',
]);
$this->drupalLogin($this->adminUser);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.