You are here

public static function DummyCacheContext::getLabel in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 tests/modules/entity_browser_test/src/Cache/Context/DummyCacheContext.php \Drupal\entity_browser_test\Cache\Context\DummyCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

tests/modules/entity_browser_test/src/Cache/Context/DummyCacheContext.php, line 18

Class

DummyCacheContext
Dummy cache context for Entity browser test purposes.

Namespace

Drupal\entity_browser_test\Cache\Context

Code

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