CurrentUserContext::$userStorage

Same name in other branches
  1. 9 core/modules/user/src/ContextProvider/CurrentUserContext.php \Drupal\user\ContextProvider\CurrentUserContext::userStorage
  2. 10 core/modules/user/src/ContextProvider/CurrentUserContext.php \Drupal\user\ContextProvider\CurrentUserContext::userStorage
  3. 11.x core/modules/user/src/ContextProvider/CurrentUserContext.php \Drupal\user\ContextProvider\CurrentUserContext::userStorage

The user storage.

Type: \Drupal\user\UserStorageInterface

File

core/modules/user/src/ContextProvider/CurrentUserContext.php, line 31

Class

CurrentUserContext
Sets the current user as a context.

Namespace

Drupal\user\ContextProvider

Code

protected $userStorage;

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