function EntityTestViewGrantsCacheContext::getLabel

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php \Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext::getLabel()
  2. 10 core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php \Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext::getLabel()
  3. 11.x core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php \Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext::getLabel()

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.