You are here

public static function BackgroundImageSettingsDarkCacheContext::getLabel in Background Image 2.x

Same name and namespace in other branches
  1. 8 src/Cache/Context/BackgroundImageSettingsDarkCacheContext.php \Drupal\background_image\Cache\Context\BackgroundImageSettingsDarkCacheContext::getLabel()
  2. 2.0.x src/Cache/Context/BackgroundImageSettingsDarkCacheContext.php \Drupal\background_image\Cache\Context\BackgroundImageSettingsDarkCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/BackgroundImageSettingsDarkCacheContext.php, line 13

Class

BackgroundImageSettingsDarkCacheContext
Cache context ID: 'background_image.settings.dark'.

Namespace

Drupal\background_image\Cache\Context

Code

public static function getLabel() {
  return t('Background Image: Dark Setting');
}