function TaxonomyViewsFieldAccessTest::setUp

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

Overrides FieldFieldAccessTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyViewsFieldAccessTest.php, line 24

Class

TaxonomyViewsFieldAccessTest
Tests base field access in Views for the taxonomy entity.

Namespace

Drupal\Tests\taxonomy\Kernel\Views

Code

protected function setUp($import_test_views = TRUE) : void {
    parent::setUp($import_test_views);
    $this->installEntitySchema('taxonomy_term');
}

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