function RowEntityTest::setUp

Same name in other branches
  1. 9 core/modules/views/tests/src/Kernel/Plugin/RowEntityTest.php \Drupal\Tests\views\Kernel\Plugin\RowEntityTest::setUp()
  2. 10 core/modules/views/tests/src/Kernel/Plugin/RowEntityTest.php \Drupal\Tests\views\Kernel\Plugin\RowEntityTest::setUp()
  3. 11.x core/modules/views/tests/src/Kernel/Plugin/RowEntityTest.php \Drupal\Tests\views\Kernel\Plugin\RowEntityTest::setUp()

Overrides ViewsKernelTestBase::setUp

File

core/modules/views/tests/src/Kernel/Plugin/RowEntityTest.php, line 44

Class

RowEntityTest
Tests the generic entity row plugin.

Namespace

Drupal\Tests\views\Kernel\Plugin

Code

protected function setUp($import_test_views = TRUE) {
    parent::setUp();
    $this->installEntitySchema('taxonomy_term');
    $this->installConfig([
        'taxonomy',
    ]);
    \Drupal::service('router.builder')->rebuild();
}

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