function NodeViewsFieldAccessTest::setUp

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

Overrides FieldFieldAccessTestBase::setUp

File

core/modules/node/tests/src/Kernel/Views/NodeViewsFieldAccessTest.php, line 25

Class

NodeViewsFieldAccessTest
Tests base field access in Views for the node entity.

Namespace

Drupal\Tests\node\Kernel\Views

Code

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

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