function WorkspaceCacheContext::getLabel
Same name in other branches
- 8.9.x core/modules/workspaces/src/WorkspaceCacheContext.php \Drupal\workspaces\WorkspaceCacheContext::getLabel()
- 10 core/modules/workspaces/src/WorkspaceCacheContext.php \Drupal\workspaces\WorkspaceCacheContext::getLabel()
- 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\workspacesCode
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.