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.