function TermEntityReferenceTest::setUp

Same name in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php \Drupal\Tests\taxonomy\Kernel\TermEntityReferenceTest::setUp()
  2. 8.9.x core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php \Drupal\Tests\taxonomy\Kernel\TermEntityReferenceTest::setUp()
  3. 10 core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php \Drupal\Tests\taxonomy\Kernel\TermEntityReferenceTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php, line 35

Class

TermEntityReferenceTest
Tests the settings of restricting term selection to a single vocabulary.

Namespace

Drupal\Tests\taxonomy\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('entity_test');
    $this->installEntitySchema('taxonomy_term');
    $this->installEntitySchema('user');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.