cache_context.session.exists

Same name in other branches
  1. 9 core/core.services.yml \cache_context.session.exists
  2. 8.9.x core/core.services.yml \cache_context.session.exists

Class

Drupal\Core\Cache\Context\SessionExistsCacheContext

Tags

  • cache.context

File

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 }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.