You are here

public static function TestDiscoveryCacheContext::getLabel in Drupal 8

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php, line 59

Class

TestDiscoveryCacheContext
Defines the TestDiscoveryCacheContext service.

Namespace

Drupal\simpletest\Cache\Context

Code

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