NodeEditFormTest::$adminUser

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

A user with permission to bypass content access checks.

Type: \Drupal\user\UserInterface

File

core/modules/node/tests/src/Functional/NodeEditFormTest.php, line 34

Class

NodeEditFormTest
Create a node and test node edit functionality.

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.