public static function CalculatedCacheContextInterface::getLabel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php \Drupal\Core\Cache\Context\CalculatedCacheContextInterface::getLabel()
Returns the label of the cache context.
Return value
string The label of the cache context.
See also
Cache
9 methods override CalculatedCacheContextInterface::getLabel()
- BazCacheContext::getLabel in core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php - Returns the label of the cache context.
- CookiesCacheContext::getLabel in core/
lib/ Drupal/ Core/ Cache/ Context/ CookiesCacheContext.php - Returns the label of the cache context.
- HeadersCacheContext::getLabel in core/
lib/ Drupal/ Core/ Cache/ Context/ HeadersCacheContext.php - Returns the label of the cache context.
- LanguagesCacheContext::getLabel in core/
lib/ Drupal/ Core/ Cache/ Context/ LanguagesCacheContext.php - Returns the label of the cache context.
- MenuActiveTrailsCacheContext::getLabel in core/
lib/ Drupal/ Core/ Cache/ Context/ MenuActiveTrailsCacheContext.php - Returns the label of the cache context.
File
- core/
lib/ Drupal/ Core/ Cache/ Context/ CalculatedCacheContextInterface.php, line 23 - Contains \Drupal\Core\Cache\Context\CalculatedCacheContextInterface.
Class
- CalculatedCacheContextInterface
- Provides an interface for defining a calculated cache context service.
Namespace
Drupal\Core\Cache\ContextCode
public static function getLabel();