NodeAccessGrantsCacheContextTest::$adminUser

User with permission to bypass node access.

Type: \Drupal\user\Entity\User|false

See also

\Drupal\Tests\user\Traits\UserCreationTrait::createUser

File

core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php, line 56

Class

NodeAccessGrantsCacheContextTest
Tests the node access grants cache context service.

Namespace

Drupal\Tests\node\Functional

Code

protected $adminUser;

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