You are here

protected function TermTranslationTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php \Drupal\Tests\taxonomy\Functional\TermTranslationTest::setUp()
  2. 9 core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php \Drupal\Tests\taxonomy\Functional\TermTranslationTest::setUp()

File

core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php, line 49

Class

TermTranslationTest
Tests for proper breadcrumb translation.

Namespace

Drupal\Tests\taxonomy\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->setupLanguages();
  $this->vocabulary = $this
    ->createVocabulary();
  $this
    ->enableTranslation();
  $this
    ->setUpTerms();
  $this
    ->setUpTermReferenceField();
}