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