You are here

public static function BackgroundImageSettingsFullViewportCacheContext::getLabel in Background Image 2.0.x

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

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

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

Class

BackgroundImageSettingsFullViewportCacheContext
Cache context ID: 'background_image.settings.full_viewport'.

Namespace

Drupal\background_image\Cache\Context

Code

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