You are here

public function RouteAdminCacheContext::__construct in Responsive Theme Preview 8

Constructs a new RouteCacheContext class.

Parameters

\Drupal\Core\Routing\AdminContext $route_admin_context: The route admin context service.

File

src/Cache/RouteAdminCacheContext.php, line 29

Class

RouteAdminCacheContext
Defines the RouteCacheContext service for "per admin route" caching.

Namespace

Drupal\responsive_preview\Cache

Code

public function __construct(AdminContext $route_admin_context) {
  $this->routeAdminContext = $route_admin_context;
}