function FileViewsFieldAccessTest::setUp

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

Overrides FieldFieldAccessTestBase::setUp

File

core/modules/file/tests/src/Kernel/Views/FileViewsFieldAccessTest.php, line 27

Class

FileViewsFieldAccessTest
Tests base field access in Views for the file entity.

Namespace

Drupal\Tests\file\Kernel\Views

Code

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

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