You are here

public static function WishlistCacheContext::getLabel in Commerce Wishlist 8.3

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/WishlistCacheContext.php, line 47

Class

WishlistCacheContext
Defines the WishlistCacheContext service, for "per wishlist" caching.

Namespace

Drupal\commerce_wishlist\Cache\Context

Code

public static function getLabel() {
  return t('Current wishlist IDs');
}