You are here

public static function OgMembershipStateCacheContext::getLabel in Organic groups 8

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/OgMembershipStateCacheContext.php, line 67

Class

OgMembershipStateCacheContext
Defines a cache context service, for "membership state" caching.

Namespace

Drupal\og\Cache\Context

Code

public static function getLabel() {
  return new TranslatableMarkup('OG membership state');
}