You are here

public static function BackgroundImageSettingsCacheContext::getLabel in Background Image 8

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

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

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

Class

BackgroundImageSettingsCacheContext
Cache context ID: 'background_image.settings'.

Namespace

Drupal\background_image\Cache\Context

Code

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