You are here

protected property RouteIsAdminCacheContext::$adminContext in Menu Per Role 8

The router admin context service.

Type: \Drupal\Core\Routing\AdminContext

File

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

Class

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

Namespace

Drupal\menu_per_role\Cache\Context

Code

protected $adminContext;