You are here

service cache_context.url.path.is_front in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \cache_context.url.path.is_front
  2. 9 core/core.services.yml \cache_context.url.path.is_front

Class

Drupal\Core\Cache\Context\IsFrontPathCacheContext

Tags

  • cache.context

File

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

View source
  1. class: Drupal\Core\Cache\Context\IsFrontPathCacheContext
  2. arguments:
  3. - '@path.matcher'
  4. tags:
  5. - { name: cache.context }