cache_context.route.book_navigation

Same name in other branches
  1. 8.9.x core/modules/book/book.services.yml \cache_context.route.book_navigation
  2. 10 core/modules/book/book.services.yml \cache_context.route.book_navigation
  3. 11.x core/modules/book/book.services.yml \cache_context.route.book_navigation

Class

Drupal\book\Cache\BookNavigationCacheContext

Tags

  • cache.context

File

core/modules/book/book.services.yml

View source
  1. class: Drupal\book\Cache\BookNavigationCacheContext
  2. arguments:
  3. - '@current_route_match'
  4. calls:
  5. - [setContainer, ['@service_container']]
  6. tags:
  7. - { name: cache.context }

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