You are here

public static function CurrencyCacheContext::getLabel in Commerce Currency Resolver 8

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

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

Class

CurrencyCacheContext
Defines the CurrencyCacheContext service, for "per currency" caching.

Namespace

Drupal\commerce_currency_resolver\Cache\Context

Code

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