You are here

service finish_response_subscriber in Drupal 10

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

Class

Drupal\Core\EventSubscriber\FinishResponseSubscriber

Tags

  • event_subscriber
2 string references to finish_response_subscriber
BlockInterestCohortTest::testExistingInterestCohortPolicy in core/tests/Drupal/KernelTests/Core/Http/BlockInterestCohortTest.php
Tests that an existing interest-cohort policy is not overwritten.
BlockInterestCohortTest::testExistingPolicyHeader in core/tests/Drupal/KernelTests/Core/Http/BlockInterestCohortTest.php
Tests that an existing header is not modified.

File

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

View source
  1. class: Drupal\Core\EventSubscriber\FinishResponseSubscriber
  2. tags:
  3. - { name: event_subscriber }
  4. arguments:
  5. - '@language_manager'
  6. - '@config.factory'
  7. - '@page_cache_request_policy'
  8. - '@page_cache_response_policy'
  9. - '@cache_contexts_manager'
  10. - '%http.response.debug_cacheability_headers%'