You are here

public static function ConfigOverrideIntegrationTestCacheContext::getLabel in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php \Drupal\config_override_integration_test\Cache\ConfigOverrideIntegrationTestCacheContext::getLabel()
  2. 9 core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php \Drupal\config_override_integration_test\Cache\ConfigOverrideIntegrationTestCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php, line 18

Class

ConfigOverrideIntegrationTestCacheContext
A cache context service intended for the config override integration test.

Namespace

Drupal\config_override_integration_test\Cache

Code

public static function getLabel() {
  return t('Config override integration test');
}