You are here

public static function StoreCacheContext::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

modules/store/src/Cache/Context/StoreCacheContext.php, line 36

Class

StoreCacheContext
Defines the StoreCacheContext service, for "per store" caching.

Namespace

Drupal\commerce_store\Cache\Context

Code

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