You are here

public static function IsGroupMemberCacheContext::getLabel in Group 8

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

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CalculatedCacheContextInterface::getLabel

See also

Cache

File

src/Cache/Context/IsGroupMemberCacheContext.php, line 74

Class

IsGroupMemberCacheContext
Defines a cache context for "is a group member or not" caching.

Namespace

Drupal\group\Cache\Context

Code

public static function getLabel() {
  return t("Is group member");
}