AdminNegotiator::$user
Same name in other branches
- 9 core/modules/user/src/Theme/AdminNegotiator.php \Drupal\user\Theme\AdminNegotiator::user
- 10 core/modules/user/src/Theme/AdminNegotiator.php \Drupal\user\Theme\AdminNegotiator::user
- 11.x core/modules/user/src/Theme/AdminNegotiator.php \Drupal\user\Theme\AdminNegotiator::user
The current user.
Type: \Drupal\Core\Session\AccountInterface
File
-
core/
modules/ user/ src/ Theme/ AdminNegotiator.php, line 29
Class
- AdminNegotiator
- Sets the active theme on admin pages.
Namespace
Drupal\user\ThemeCode
protected $user;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.