You are here

service cache_context.route.is_admin in Menu Per Role 8

Class

Drupal\menu_per_role\Cache\Context\RouteIsAdminCacheContext

Tags

  • cache.context

File

./menu_per_role.services.yml
menu_per_role.services.yml

View source
  1. class: Drupal\menu_per_role\Cache\Context\RouteIsAdminCacheContext
  2. arguments:
  3. - '@router.admin_context'
  4. tags:
  5. - { name: cache.context }