public static function BackgroundImageCacheContext::getLabel in Background Image 2.x
Same name and namespace in other branches
- 8 src/Cache/Context/BackgroundImageCacheContext.php \Drupal\background_image\Cache\Context\BackgroundImageCacheContext::getLabel()
- 2.0.x src/Cache/Context/BackgroundImageCacheContext.php \Drupal\background_image\Cache\Context\BackgroundImageCacheContext::getLabel()
Returns the label of the cache context.
Return value
string The label of the cache context.
Overrides CacheContextInterface::getLabel
File
- src/
Cache/ Context/ BackgroundImageCacheContext.php, line 13
Class
- BackgroundImageCacheContext
- Cache context ID: 'background_image'.
Namespace
Drupal\background_image\Cache\ContextCode
public static function getLabel() {
return t('Background Image');
}