public static function CartCacheContext::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/
cart/ src/ Cache/ Context/ CartCacheContext.php, line 47
Class
- CartCacheContext
- Defines the CartCacheContext service, for "per cart" caching.
Namespace
Drupal\commerce_cart\Cache\ContextCode
public static function getLabel() {
return t('Current cart IDs');
}