You are here

service cache_context.session.exists in Drupal 10

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

Class

Drupal\Core\Cache\Context\SessionExistsCacheContext

Tags

  • cache.context
1 string reference to cache_context.session.exists
session_exists_cache_context_test_page_top in core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.module
Implements hook_page_top().

File

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

View source
  1. class: Drupal\Core\Cache\Context\SessionExistsCacheContext
  2. arguments:
  3. - '@session_configuration'
  4. - '@request_stack'
  5. tags:
  6. - { name: cache.context }