protected property ControllerBase::$currentUser
The current user service.
Type: \Drupal\Core\Session\AccountInterface
File
- core/lib/Drupal/Core/Controller/ControllerBase.php, line 87
Class
- ControllerBase
- Utility base class for thin controllers.
Namespace
Drupal\Core\ControllerCode
protected $currentUser;
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Controller!ControllerBase.php/property/ControllerBase::currentUser/8.1.x