RequestStackCacheContextBase::$requestStack
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php \Drupal\Core\Cache\Context\RequestStackCacheContextBase::requestStack
- 8.9.x core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php \Drupal\Core\Cache\Context\RequestStackCacheContextBase::requestStack
- 10 core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php \Drupal\Core\Cache\Context\RequestStackCacheContextBase::requestStack
The request stack.
Type: \Symfony\Component\HttpFoundation\RequestStack
File
-
core/
lib/ Drupal/ Core/ Cache/ Context/ RequestStackCacheContextBase.php, line 21
Class
- RequestStackCacheContextBase
- Defines a base class for cache contexts depending only on the request stack.
Namespace
Drupal\Core\Cache\ContextCode
protected $requestStack;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.