function CommentViewsFieldAccessTest::setUp

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

Overrides FieldFieldAccessTestBase::setUp

File

core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php, line 25

Class

CommentViewsFieldAccessTest
Tests base field access in Views for the comment entity.

Namespace

Drupal\Tests\comment\Kernel\Views

Code

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

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