You are here

public static function CountryCacheContext::getLabel in Commerce Core 8.2

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\commerce\Cache\Context

Code

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