function WorkspaceCacheContext::getLabel

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceCacheContext.php \Drupal\workspaces\WorkspaceCacheContext::getLabel()
  2. 10 core/modules/workspaces/src/WorkspaceCacheContext.php \Drupal\workspaces\WorkspaceCacheContext::getLabel()
  3. 11.x core/modules/workspaces/src/WorkspaceCacheContext.php \Drupal\workspaces\WorkspaceCacheContext::getLabel()

Overrides CacheContextInterface::getLabel

File

core/modules/workspaces/src/WorkspaceCacheContext.php, line 35

Class

WorkspaceCacheContext
Defines the WorkspaceCacheContext service, for "per workspace" caching.

Namespace

Drupal\workspaces

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.