function ViewsPreprocessTest::setUp

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

Overrides ViewsKernelTestBase::setUp

File

core/modules/views/tests/src/Kernel/ViewsPreprocessTest.php, line 28

Class

ViewsPreprocessTest
Tests the preprocessing functionality in views.theme.inc.

Namespace

Drupal\Tests\views\Kernel

Code

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

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