You are here

public static function EntityTestViewGrantsCacheContext::getLabel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 25
Contains \Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext.

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");
}