RequestPolicyInterface

Defines the interface for request policy implementations.

The request policy is evaluated in order to determine whether delivery of a cached page should be attempted. The caller should do so if static::ALLOW is returned from the check() method.

Hierarchy

File

core/lib/Drupal/Core/PageCache/RequestPolicyInterface.php, line 14

Namespace

Drupal\Core\PageCache

Members

Name Modifiers Type Description
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.
doc_Drupal
2016-10-29 09:37:47
Comments
Leave a Comment

Please login to continue.