UserRoleAdminTest::$adminUser

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

User with admin privileges.

Type: \Drupal\user\UserInterface

File

core/modules/user/tests/src/Functional/UserRoleAdminTest.php, line 21

Class

UserRoleAdminTest
Tests adding, editing and deleting user roles and changing role weights.

Namespace

Drupal\Tests\user\Functional

Code

protected $adminUser;

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