function EntityTestViewsFieldAccessTest::setUp

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

Overrides FieldFieldAccessTestBase::setUp

File

core/modules/views/tests/src/Kernel/Handler/EntityTestViewsFieldAccessTest.php, line 22

Class

EntityTestViewsFieldAccessTest
Tests base field access in Views for the entity_test entity.

Namespace

Drupal\Tests\views\Kernel\Handler

Code

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

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