function BazCacheContext::getLabel

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\BazCacheContext::getLabel()
  2. 10 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\BazCacheContext::getLabel()
  3. 11.x core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\BazCacheContext::getLabel()

Overrides CalculatedCacheContextInterface::getLabel

File

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

Class

BazCacheContext
Fake calculated cache context class.

Namespace

Drupal\Tests\Core\Cache\Context

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.