You are here

public static function LinkItemContentActiveTrailsCacheContext::getLabel in Menu Item Extras 8.2

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CalculatedCacheContextInterface::getLabel

See also

Cache

File

src/Cache/LinkItemContentActiveTrailsCacheContext.php, line 23

Class

LinkItemContentActiveTrailsCacheContext
Defines the MenuActiveTrailsCacheContext service.

Namespace

Drupal\menu_item_extras\Cache

Code

public static function getLabel() {
  return t("Active menu trail");
}