function DisplayBlockTest::setUp

Same name in other branches
  1. 9 core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php \Drupal\Tests\block\Functional\Views\DisplayBlockTest::setUp()
  2. 8.9.x core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php \Drupal\Tests\block\Functional\Views\DisplayBlockTest::setUp()
  3. 10 core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php \Drupal\Tests\block\Functional\Views\DisplayBlockTest::setUp()

Overrides ViewTestBase::setUp

File

core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php, line 55

Class

DisplayBlockTest
Tests the block display plugin.

Namespace

Drupal\Tests\block\Functional\Views

Code

protected function setUp($import_test_views = TRUE, $modules = [
    'block_test_views',
]) : void {
    parent::setUp($import_test_views, $modules);
    $this->enableViewsTestModule();
}

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