ShortcutTestBase::$shortcutUser

Same name in other branches
  1. 8.9.x core/modules/shortcut/src/Tests/ShortcutTestBase.php \Drupal\shortcut\Tests\ShortcutTestBase::shortcutUser
  2. 8.9.x core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php \Drupal\Tests\shortcut\Functional\ShortcutTestBase::shortcutUser
  3. 10 core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php \Drupal\Tests\shortcut\Functional\ShortcutTestBase::shortcutUser
  4. 11.x core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php \Drupal\Tests\shortcut\Functional\ShortcutTestBase::shortcutUser

User with permission to use shortcuts, but not administer them.

Type: \Drupal\user\UserInterface

File

core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php, line 34

Class

ShortcutTestBase
Defines base class for shortcut test cases.

Namespace

Drupal\Tests\shortcut\Functional

Code

protected $shortcutUser;

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