You are here

public static function RouteAdminCacheContext::getLabel in Responsive Theme Preview 8

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/RouteAdminCacheContext.php, line 36

Class

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

Namespace

Drupal\responsive_preview\Cache

Code

public static function getLabel() {
  return t('Route is admin');
}