You are here

constant RouteIsAdminCacheContext::CONTEXT_ID in Menu Per Role 8

Context ID.

@const string

File

src/Cache/Context/RouteIsAdminCacheContext.php, line 21

Class

RouteIsAdminCacheContext
Defines a cache context depending if the route is an admin route or not.

Namespace

Drupal\menu_per_role\Cache\Context

Code

const CONTEXT_ID = 'route.is_admin';