The current user.
Type: \Drupal\Core\Session\AccountProxyInterface
File
- core/modules/user/src/PrivateTempStore.php, line 50
 
Class
- PrivateTempStore
 - Stores and retrieves temporary data for a given owner.
 
Namespace
Drupal\user
Code
protected $currentUser;
Please login to continue.