ChainRequestPolicy::$rules

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php \Drupal\Core\PageCache\ChainRequestPolicy::rules
  2. 10 core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php \Drupal\Core\PageCache\ChainRequestPolicy::rules
  3. 11.x core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php \Drupal\Core\PageCache\ChainRequestPolicy::rules

A list of policy rules to apply when this policy is evaluated.

Type: \Drupal\Core\PageCache\RequestPolicyInterface[]

File

core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php, line 28

Class

ChainRequestPolicy
Implements a compound request policy.

Namespace

Drupal\Core\PageCache

Code

protected $rules = [];

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