function UserViewsFieldAccessTest::setUp

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

Overrides FieldFieldAccessTestBase::setUp

File

core/modules/user/tests/src/Kernel/Views/UserViewsFieldAccessTest.php, line 24

Class

UserViewsFieldAccessTest
Tests base field access in Views for the user entity.

Namespace

Drupal\Tests\user\Kernel\Views

Code

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

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