You are here

public static function EntityTestViewGrantsCacheContext::getLabel in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php \Drupal\entity_test\Cache\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\Cache

Code

public static function getLabel() {
  return t("Entity test view grants");
}