function UserTokenReplaceTest::setUp
Same name in other branches
- 9 core/modules/user/tests/src/Functional/UserTokenReplaceTest.php \Drupal\Tests\user\Functional\UserTokenReplaceTest::setUp()
- 10 core/modules/user/tests/src/Functional/UserTokenReplaceTest.php \Drupal\Tests\user\Functional\UserTokenReplaceTest::setUp()
- 11.x core/modules/user/tests/src/Functional/UserTokenReplaceTest.php \Drupal\Tests\user\Functional\UserTokenReplaceTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ user/ tests/ src/ Functional/ UserTokenReplaceTest.php, line 35
Class
- UserTokenReplaceTest
- Generates text using placeholders for dummy content to check user token replacement.
Namespace
Drupal\Tests\user\FunctionalCode
protected function setUp() {
parent::setUp();
ConfigurableLanguage::createFromLangcode('de')->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.