You are here

public static function BazCacheContext::getLabel in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\BazCacheContext::getLabel()
  2. 9 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\BazCacheContext::getLabel()

File

core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php, line 285
Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.

Class

BazCacheContext
Fake calculated cache context class.

Namespace

Drupal\Tests\Core\Cache\Context

Code

public static function getLabel() {
  return 'Baz';
}