You are here

public static function BackgroundImageSettingsTextCacheContext::getLabel in Background Image 8

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

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

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

Class

BackgroundImageSettingsTextCacheContext
Cache context ID: 'background_image.settings.text'.

Namespace

Drupal\background_image\Cache\Context

Code

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