10 methods override CalculatedCacheContextInterface::getContext()

BazCacheContext::getContext in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
Returns the string representation of the cache context.
CookiesCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/CookiesCacheContext.php
Returns the string representation of the cache context.
HeadersCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/HeadersCacheContext.php
Returns the string representation of the cache context.
LanguagesCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php
$type can be NULL, or one of the language types supported by the language manager, typically:
LayoutBuilderIsActiveCacheContext::getContext in core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php
Returns the string representation of the cache context.
MenuActiveTrailsCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php
Returns the string representation of the cache context.
NodeAccessGrantsCacheContext::getContext in core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
Returns the string representation of the cache context.
PagersCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php
QueryArgsCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
Returns the string representation of the cache context.
UserRolesCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php
Returns the string representation of the cache context.

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