You are here

protected property UserCacheContextBase::$user in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php \Drupal\Core\Cache\Context\UserCacheContextBase::user

The account object.

Type: \Drupal\Core\Session\AccountInterface

File

core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php, line 26
Contains \Drupal\Core\Cache\Context\UserCacheContextBase.

Class

UserCacheContextBase
Base class for user-based cache contexts.

Namespace

Drupal\Core\Cache\Context

Code

protected $user;