You are here

public static function StaticCacheContext::getLabel in GraphQL 8.4

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CalculatedCacheContextInterface::getLabel

See also

Cache

File

src/Cache/Context/StaticCacheContext.php, line 18

Class

StaticCacheContext
Helper class, not sure for what.

Namespace

Drupal\graphql\Cache\Context

Code

public static function getLabel() {
  return t('Static');
}