You are here

service page_cache_kill_switch in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \page_cache_kill_switch
  2. 9 core/core.services.yml \page_cache_kill_switch

Class

Drupal\Core\PageCache\ResponsePolicy\KillSwitch

Tags

  • page_cache_response_policy
  • dynamic_page_cache_response_policy
4 string references to page_cache_kill_switch
BasicAuthTestController::readState in core/modules/basic_auth/tests/modules/basic_auth_test/src/BasicAuthTestController.php
drupal_rebuild in core/includes/utility.inc
Rebuilds all caches even when Drupal itself does not work.
LanguageNegotiationBrowser::create in core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationBrowser.php
MaintenanceModeSubscriber::onKernelRequestMaintenance in core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
Returns the site maintenance page if the site is offline.

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\PageCache\ResponsePolicy\KillSwitch
  2. tags:
  3. - { name: page_cache_response_policy }
  4. - { name: dynamic_page_cache_response_policy }