protected property ControllerBase::$currentUser in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Controller/ControllerBase.php \Drupal\Core\Controller\ControllerBase::currentUser
- 9 core/lib/Drupal/Core/Controller/ControllerBase.php \Drupal\Core\Controller\ControllerBase::currentUser
The current user service.
Type: \Drupal\Core\Session\AccountInterface
File
- core/
lib/ Drupal/ Core/ Controller/ ControllerBase.php, line 82
Class
- ControllerBase
- Utility base class for thin controllers.
Namespace
Drupal\Core\ControllerCode
protected $currentUser;