UserPermissionsTest::$adminUser

Same name in this branch
  1. 11.x core/modules/user/tests/src/Functional/UserPermissionsTest.php \Drupal\Tests\user\Functional\UserPermissionsTest::adminUser
Same name in other branches
  1. 9 core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php \Drupal\Tests\user\FunctionalJavascript\UserPermissionsTest::adminUser
  2. 9 core/modules/user/tests/src/Functional/UserPermissionsTest.php \Drupal\Tests\user\Functional\UserPermissionsTest::adminUser
  3. 8.9.x core/modules/user/tests/src/Functional/UserPermissionsTest.php \Drupal\Tests\user\Functional\UserPermissionsTest::adminUser
  4. 10 core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php \Drupal\Tests\user\FunctionalJavascript\UserPermissionsTest::adminUser
  5. 10 core/modules/user/tests/src/Functional/UserPermissionsTest.php \Drupal\Tests\user\Functional\UserPermissionsTest::adminUser

User with admin privileges.

Type: \Drupal\user\UserInterface

File

core/modules/user/tests/src/FunctionalJavascript/UserPermissionsTest.php, line 27

Class

UserPermissionsTest
Tests the JS components added to the user permissions page.

Namespace

Drupal\Tests\user\FunctionalJavascript

Code

protected $adminUser;

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