ChainResponsePolicy::$rules

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

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

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

File

core/lib/Drupal/Core/PageCache/ChainResponsePolicy.php, line 27

Class

ChainResponsePolicy
Implements a compound response 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.