function LocaleTranslationTest::setUp
Same name in this branch
- 11.x core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()
Same name and namespace in other branches
- 9 core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()
- 8.9.x core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()
- 10 core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ locale/ tests/ src/ Kernel/ LocaleTranslationTest.php, line 26
Class
- LocaleTranslationTest
- @coversDefaultClass \Drupal\locale\LocaleTranslation[[api-linebreak]] @group locale
Namespace
Drupal\Tests\locale\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installSchema('locale', [
'locales_location',
'locales_source',
'locales_target',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.