function FooCacheContext::getLabel
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\FooCacheContext::getLabel()
- 8.9.x core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\FooCacheContext::getLabel()
- 10 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\FooCacheContext::getLabel()
Overrides CacheContextInterface::getLabel
File
-
core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php, line 256
Class
- FooCacheContext
- Fake cache context class.
Namespace
Drupal\Tests\Core\Cache\ContextCode
public static function getLabel() {
return 'Foo';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.