NodeAccessGrantsCacheContextTest::$adminUser
Same name and namespace in other branches
- 11.x core/modules/node/tests/src/Functional/NodeAccessGrantsCacheContextTest.php \Drupal\Tests\node\Functional\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 58
Class
- NodeAccessGrantsCacheContextTest
- Tests the node access grants cache context service.
Namespace
Drupal\Tests\node\FunctionalCode
protected $adminUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.