FinishResponseSubscriber::$responsePolicy
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::responsePolicy
- 10 core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::responsePolicy
A policy rule determining the cacheability of the response.
Type: \Drupal\Core\PageCache\ResponsePolicyInterface
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ FinishResponseSubscriber.php, line 50
Class
- FinishResponseSubscriber
- Response subscriber to handle finished responses.
Namespace
Drupal\Core\EventSubscriberCode
protected $responsePolicy;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.