Search for contexts

  1. Search 7.x for contexts
  2. Search 9.5.x for contexts
  3. Search 8.9.x for contexts
  4. Search 10.3.x for contexts
  5. Search 11.x for contexts
  6. Other projects
Title Object type File name Summary
ToolbarCacheContextsTest::setUp function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
ToolbarCacheContextsTest::testCacheIntegration function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Tests toolbar cache integration.
ToolbarCacheContextsTest::testToolbarCacheContextsCaller function core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php Tests toolbar cache contexts.
TranslationLanguageRenderer::getCacheContexts function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
UncacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php
UnchangingCacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php
User::getCacheContexts function core/modules/user/src/Plugin/views/argument_default/User.php
UserContextAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
UserResourceTestBase::getExpectedCacheContexts function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
UserRole::getCacheContexts function core/modules/user/src/Plugin/Condition/UserRole.php
UserRolesAccessPolicy::getPersistentCacheContexts function core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php
UserRolesAccessPolicyTest::testGetPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the getPersistentCacheContexts method.
UserTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/UserTest.php The expected cache contexts for the GET/HEAD response of the test entity.
UserTranslationUITest::$defaultCacheContexts property core/modules/user/tests/src/Functional/UserTranslationUITest.php
VariationCacheTest::$cacheContextsManager property core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php The mock cache contexts manager.
ViewResourceTestBase::getExpectedCacheContexts function core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
ViewsBlockBase::getCacheContexts function core/modules/views/src/Plugin/Block/ViewsBlockBase.php
ViewsExposedFilterBlock::getCacheContexts function core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php
ViewsTestCacheContextFilter::getCacheContexts function core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php
ViewUI::addCacheContexts function core/modules/views_ui/src/ViewUI.php
ViewUI::getCacheContexts function core/modules/views_ui/src/ViewUI.php
WorkspaceResourceTestBase::getExpectedCacheContexts function core/modules/workspaces/tests/src/Functional/Rest/WorkspaceResourceTestBase.php

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