public static function PreviewLinkCacheContext::getLabel in Preview Link 2.x
Same name and namespace in other branches
- 8 src/PreviewLinkCacheContext.php \Drupal\preview_link\PreviewLinkCacheContext::getLabel()
- 2.0.x src/PreviewLinkCacheContext.php \Drupal\preview_link\PreviewLinkCacheContext::getLabel()
Returns the label of the cache context.
Return value
string The label of the cache context.
Overrides CacheContextInterface::getLabel
File
- src/
PreviewLinkCacheContext.php, line 36
Class
- PreviewLinkCacheContext
- Defines a class for a preview link cache context.
Namespace
Drupal\preview_linkCode
public static function getLabel() {
return 'Is preview link route';
}