public static function BackgroundImageCacheContext::getLabel in Background Image 8
Same name and namespace in other branches
- 2.x 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');
}