You are here

public static function RngEventCacheContext::getLabel in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/Cache/Context/RngEventCacheContext.php \Drupal\rng\Cache\Context\RngEventCacheContext::getLabel()
  2. 3.x src/Cache/Context/RngEventCacheContext.php \Drupal\rng\Cache\Context\RngEventCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/RngEventCacheContext.php, line 38

Class

RngEventCacheContext
A context for the current rng_event.

Namespace

Drupal\rng\Cache\Context

Code

public static function getLabel() {
  return t('RNG Event');
}