SessionCacheContext
class SessionCacheContext
Defines the SessionCacheContext service, for "per session" caching.
Cache context ID: 'session'.
Hierarchy
- class \Drupal\Core\Cache\Context\RequestStackCacheContextBase
- class \Drupal\Core\Cache\Context\SessionCacheContext
File
- core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php, line 10
Namespace
Drupal\Core\Cache\ContextMembers
Name | Modifiers | Type | Description |
---|---|---|---|
RequestStackCacheContextBase::$requestStack | protected | property | The request stack. |
RequestStackCacheContextBase::__construct | public | function | Constructs a new RequestStackCacheContextBase class. |
SessionCacheContext::getContext | public | function | |
SessionCacheContext::getLabel | public static | function |
© 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!SessionCacheContext.php/class/SessionCacheContext/8.1.x