public static function CountryCacheContext::getLabel in Price 8
Same name and namespace in other branches
- 3.x src/Cache/Context/CountryCacheContext.php \Drupal\price\Cache\Context\CountryCacheContext::getLabel()
- 2.0.x src/Cache/Context/CountryCacheContext.php \Drupal\price\Cache\Context\CountryCacheContext::getLabel()
- 2.x src/Cache/Context/CountryCacheContext.php \Drupal\price\Cache\Context\CountryCacheContext::getLabel()
- 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\ContextCode
public static function getLabel() {
return t('Country');
}