You are here

public static function CountryCacheContext::getLabel in Price 8

Same name and namespace in other branches
  1. 3.x src/Cache/Context/CountryCacheContext.php \Drupal\price\Cache\Context\CountryCacheContext::getLabel()
  2. 2.0.x src/Cache/Context/CountryCacheContext.php \Drupal\price\Cache\Context\CountryCacheContext::getLabel()
  3. 2.x src/Cache/Context/CountryCacheContext.php \Drupal\price\Cache\Context\CountryCacheContext::getLabel()
  4. 3.0.x src/Cache/Context/CountryCacheContext.php \Drupal\price\Cache\Context\CountryCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/CountryCacheContext.php, line 36

Class

CountryCacheContext
Defines the country cache context, for "per country" caching.

Namespace

Drupal\price\Cache\Context

Code

public static function getLabel() {
  return t('Country');
}