W3cubDocs

/Drupal 8

interface ChainRequestPolicyInterface

Defines the interface for compound request policies.

Hierarchy

File

core/lib/Drupal/Core/PageCache/ChainRequestPolicyInterface.php, line 8

Namespace

Drupal\Core\PageCache

Members

Name Modifiers Type Description
ChainRequestPolicyInterface::addPolicy public function Add a policy to the list of policy rules.
RequestPolicyInterface::ALLOW constant Allow delivery of cached pages.
RequestPolicyInterface::check public function Determines whether delivery of a cached page should be attempted.
RequestPolicyInterface::DENY constant Deny delivery of cached pages.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!PageCache!ChainRequestPolicyInterface.php/interface/ChainRequestPolicyInterface/8.1.x