You are here

public static function GroupPermissionsCacheContext::getLabel in Group 8

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

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/GroupPermissionsCacheContext.php, line 49

Class

GroupPermissionsCacheContext
Defines a cache context for "per group membership permissions" caching.

Namespace

Drupal\group\Cache\Context

Code

public static function getLabel() {
  return t("Group permissions");
}