protected property UserCacheContextBase::$user
The account object.
Type: \Drupal\Core\Session\AccountInterface
File
- core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php, line 21
Class
- UserCacheContextBase
- Base class for user-based cache contexts.
Namespace
Drupal\Core\Cache\ContextCode
protected $user;
© 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!Cache!Context!UserCacheContextBase.php/property/UserCacheContextBase::user/8.1.x