protected function TermTranslationFieldViewTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php \Drupal\Tests\taxonomy\Functional\TermTranslationFieldViewTest::setUp()
- 9 core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php \Drupal\Tests\taxonomy\Functional\TermTranslationFieldViewTest::setUp()
File
- core/
modules/ taxonomy/ tests/ src/ Functional/ TermTranslationFieldViewTest.php, line 49
Class
- TermTranslationFieldViewTest
- Tests the translation of taxonomy terms field on nodes.
Namespace
Drupal\Tests\taxonomy\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this
->setupLanguages();
$this->vocabulary = $this
->createVocabulary();
$this
->enableTranslation();
$this
->setUpTerm();
$this
->setUpTermReferenceField();
$this
->setUpNode();
}