protected function TranslationStringTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php \Drupal\KernelTests\Core\StringTranslation\TranslationStringTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php \Drupal\KernelTests\Core\StringTranslation\TranslationStringTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ StringTranslation/ TranslationStringTest.php, line 28
Class
- TranslationStringTest
- Tests the TranslatableMarkup class.
Namespace
Drupal\KernelTests\Core\StringTranslationCode
protected function setUp() {
parent::setUp();
ConfigurableLanguage::createFromLangcode('de')
->save();
}