class KernelTestDynamicPageCacheRequestPolicy

Replaces the dynamic_page_cache module's default request policy.

Hierarchy

Expanded class hierarchy of KernelTestDynamicPageCacheRequestPolicy

File

core/tests/Drupal/Tests/Traits/Core/Cache/PageCachePolicyTrait.php, line 67

Namespace

Drupal\Tests\Traits\Core\Cache
View source
class KernelTestDynamicPageCacheRequestPolicy extends DynamicPageCacheDefaultRequestPolicy {
  public function __construct() {
  }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
ChainRequestPolicy::$rules protected property A list of policy rules to apply when this policy is evaluated.
ChainRequestPolicy::addPolicy public function Add a policy to the list of policy rules. Overrides ChainRequestPolicyInterface::addPolicy
ChainRequestPolicy::check public function Determines whether delivery of a cached page should be attempted. Overrides RequestPolicyInterface::check
KernelTestDynamicPageCacheRequestPolicy::__construct public function Constructs the default Dynamic Page Cache request policy. Overrides DefaultRequestPolicy::__construct
RequestPolicyInterface::ALLOW constant Allow delivery of cached pages.
RequestPolicyInterface::DENY constant Deny delivery of cached pages.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.