You are here

public static function ActiveSiteAlertsCacheContext::getLabel in Site Alert 8

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/ActiveSiteAlertsCacheContext.php, line 71

Class

ActiveSiteAlertsCacheContext
A cache context that varies by the currently active site alerts.

Namespace

Drupal\site_alert\Cache\Context

Code

public static function getLabel() {
  return t('Active site alerts');
}