public function KillSwitch::trigger in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/PageCache/ResponsePolicy/KillSwitch.php \Drupal\Core\PageCache\ResponsePolicy\KillSwitch::trigger()
Deny any page caching on the current request.
File
- core/
lib/ Drupal/ Core/ PageCache/ ResponsePolicy/ KillSwitch.php, line 38 - Contains \Drupal\Core\PageCache\ResponsePolicy\KillSwitch.
Class
- KillSwitch
- A policy evaluating to static::DENY when the kill switch was triggered.
Namespace
Drupal\Core\PageCache\ResponsePolicyCode
public function trigger() {
$this->kill = TRUE;
}