NodeQueryAlterTest::$noAccessUser2

Same name in other branches
  1. 9 core/modules/node/tests/src/Functional/NodeQueryAlterTest.php \Drupal\Tests\node\Functional\NodeQueryAlterTest::noAccessUser2
  2. 11.x core/modules/node/tests/src/Functional/NodeQueryAlterTest.php \Drupal\Tests\node\Functional\NodeQueryAlterTest::noAccessUser2

User without permission to view content.

Type: \Drupal\user\Entity\User

File

core/modules/node/tests/src/Functional/NodeQueryAlterTest.php, line 43

Class

NodeQueryAlterTest
Tests that node access queries are properly altered by the node module.

Namespace

Drupal\Tests\node\Functional

Code

protected User $noAccessUser2;

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