interface ChainResponsePolicyInterface
Same name in other branches
- 9 core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.php \Drupal\Core\PageCache\ChainResponsePolicyInterface
- 10 core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.php \Drupal\Core\PageCache\ChainResponsePolicyInterface
- 11.x core/lib/Drupal/Core/PageCache/ChainResponsePolicyInterface.php \Drupal\Core\PageCache\ChainResponsePolicyInterface
Defines the interface for compound request policies.
Hierarchy
- interface \Drupal\Core\PageCache\ResponsePolicyInterface
- interface \Drupal\Core\PageCache\ChainResponsePolicyInterface extends \Drupal\Core\PageCache\ResponsePolicyInterface
Expanded class hierarchy of ChainResponsePolicyInterface
All classes that implement ChainResponsePolicyInterface
File
-
core/
lib/ Drupal/ Core/ PageCache/ ChainResponsePolicyInterface.php, line 8
Namespace
Drupal\Core\PageCacheView source
interface ChainResponsePolicyInterface extends ResponsePolicyInterface {
/**
* Add a policy to the list of policy rules.
*
* @param \Drupal\Core\PageCache\ResponsePolicyInterface $policy
* The request policy rule to add.
*
* @return $this
*/
public function addPolicy(ResponsePolicyInterface $policy);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ChainResponsePolicyInterface::addPolicy | public | function | Add a policy to the list of policy rules. | 2 |
ResponsePolicyInterface::check | public | function | Determines whether it is save to store a page in the cache. | 8 |
ResponsePolicyInterface::DENY | constant | Deny storage of a page in the cache. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.