23 methods override CacheContextInterface::getContext()

AccountPermissionsCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php
Returns the string representation of the cache context.
BookNavigationCacheContext::getContext in core/modules/book/src/Cache/BookNavigationCacheContext.php
Returns the string representation of the cache context.
ConfigOverrideIntegrationTestCacheContext::getContext in core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php
Returns the string representation of the cache context.
EntityTestViewGrantsCacheContext::getContext in core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php
Returns the string representation of the cache context.
FooCacheContext::getContext in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
Returns the string representation of the cache context.
IpCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/IpCacheContext.php
Returns the string representation of the cache context.
IsFrontPathCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php
Returns the string representation of the cache context.
IsSuperUserCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php
Returns the string representation of the cache context.
NoOptimizeCacheContext::getContext in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
Returns the string representation of the cache context.
PathCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/PathCacheContext.php
Returns the string representation of the cache context.
PathParentCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php
Returns the string representation of the cache context.
PirateDayCacheContext::getContext in core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php
Returns the string representation of the cache context.
ProtocolVersionCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php
Returns the string representation of the cache context.
RouteCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php
Returns the string representation of the cache context.
SessionExistsCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php
Returns the string representation of the cache context.
SiteCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php
Returns the string representation of the cache context.
TestDiscoveryCacheContext::getContext in core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php
Returns the string representation of the cache context.
ThemeCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/ThemeCacheContext.php
Returns the string representation of the cache context.
TimeZoneCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php
Returns the string representation of the cache context.
UrlCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php
Returns the string representation of the cache context.
UserCacheContext::getContext in core/lib/Drupal/Core/Cache/Context/UserCacheContext.php
Returns the string representation of the cache context.
ViewsTestCacheContext::getContext in core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php
Returns the string representation of the cache context.
WorkspaceCacheContext::getContext in core/modules/workspaces/src/WorkspaceCacheContext.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.