AccessTestBase::$normalUser

Same name in other branches
  1. 9 core/modules/user/tests/src/Functional/Views/AccessTestBase.php \Drupal\Tests\user\Functional\Views\AccessTestBase::normalUser
  2. 8.9.x core/modules/user/tests/src/Functional/Views/AccessTestBase.php \Drupal\Tests\user\Functional\Views\AccessTestBase::normalUser
  3. 10 core/modules/user/tests/src/Functional/Views/AccessTestBase.php \Drupal\Tests\user\Functional\Views\AccessTestBase::normalUser

Contains a user object that has the 'views_test_data test permission'.

Type: \Drupal\user\UserInterface

File

core/modules/user/tests/src/Functional/Views/AccessTestBase.php, line 29

Class

AccessTestBase
A common test base class for the user access plugin tests.

Namespace

Drupal\Tests\user\Functional\Views

Code

protected $normalUser;

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