You are here

public static function RouteGroupCacheContext::getLabel in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Cache/Context/RouteGroupCacheContext.php \Drupal\group\Cache\Context\RouteGroupCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/RouteGroupCacheContext.php, line 41

Class

RouteGroupCacheContext
Defines a cache context for "per group from route" caching.

Namespace

Drupal\group\Cache\Context

Code

public static function getLabel() {
  return t('Group from route');
}