function ViewsPreprocessTest::setUp

Same name and namespace in other branches
  1. 9 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 <a href="/api/drupal/core%21modules%21views%21views.theme.inc/8.9.x" title="Preprocessors and helper functions to make theming easier." class="local">views.theme.inc</a>.

Namespace

Drupal\Tests\views\Kernel

Code

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

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