protected function UserTokenReplaceTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Functional/UserTokenReplaceTest.php \Drupal\Tests\user\Functional\UserTokenReplaceTest::setUp()
- 9 core/modules/user/tests/src/Functional/UserTokenReplaceTest.php \Drupal\Tests\user\Functional\UserTokenReplaceTest::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() : void {
parent::setUp();
ConfigurableLanguage::createFromLangcode('de')
->save();
}