protected function TranslationTest::setUp in Drupal 10
Same name in this branch
- 10 core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::setUp()
- 10 core/modules/field/tests/src/Kernel/TranslationTest.php \Drupal\Tests\field\Kernel\TranslationTest::setUp()
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::setUp()
- 9 core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php \Drupal\Tests\Core\Annotation\TranslationTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Annotation/ TranslationTest.php, line 25
Class
- TranslationTest
- @coversDefaultClass \Drupal\Core\Annotation\Translation @group Annotation
Namespace
Drupal\Tests\Core\AnnotationCode
protected function setUp() : void {
$this->translationManager = $this
->getStringTranslationStub();
}