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 12
Namespace
Drupal\Core\Cache\Context
Members
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 |
Please login to continue.