function EntityTestViewGrantsCacheContext::getLabel
Returns the label of the cache context.
Return value
string The label of the cache context.
Overrides CacheContextInterface::getLabel
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Cache/ EntityTestViewGrantsCacheContext.php, line 20
Class
- EntityTestViewGrantsCacheContext
- Defines the entity_test view grants cache context service.
Namespace
Drupal\entity_test\CacheCode
public static function getLabel() {
return t("Entity test view grants");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.