function TermEntityReferenceTest::setUp
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php \Drupal\Tests\taxonomy\Kernel\TermEntityReferenceTest::setUp()
- 8.9.x core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php \Drupal\Tests\taxonomy\Kernel\TermEntityReferenceTest::setUp()
- 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\KernelCode
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.