NodeAccessRebuildNodeGrantsTest::$webUser

Same name in other branches
  1. 9 core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php \Drupal\Tests\node\Functional\NodeAccessRebuildNodeGrantsTest::webUser
  2. 10 core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php \Drupal\Tests\node\Functional\NodeAccessRebuildNodeGrantsTest::webUser
  3. 11.x core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php \Drupal\Tests\node\Functional\NodeAccessRebuildNodeGrantsTest::webUser

A user to create nodes that only it has access to.

Type: \Drupal\user\UserInterface

File

core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php, line 25

Class

NodeAccessRebuildNodeGrantsTest
Ensures that node access rebuild functions work correctly even when other modules implements hook_node_grants().

Namespace

Drupal\Tests\node\Functional

Code

protected $webUser;

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