You are here

53 string references to cache_contexts_manager in Drupal 10

AccessManagerTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AccessResultTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
ActiveWorkspaceCheckTest::setUp in core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php
BlockPageVariantTest::setUpDisplayVariant in core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
Sets up a display variant plugin for testing.
BlockTest::testBlockCacheTags in core/modules/block/tests/src/Functional/BlockTest.php
Tests that cache tags are properly set and bubbled up to the page cache.
BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
Asserts that a block is built/rendered/cached with expected cacheability.
BlockViewBuilderTest::verifyRenderCacheHandling in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
Verifies render cache handling of the block being tested.
book_test_page_attachments in core/modules/book/tests/modules/book_test/book_test.module
Implements hook_page_attachments().
BreadcrumbManagerTest::setUp in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php
BubbleableMetadataTest::testAddCacheableDependency in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
@covers ::addCacheableDependency @dataProvider providerTestMerge
BubbleableMetadataTest::testMerge in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
@covers ::merge @dataProvider providerTestMerge
Cache::mergeContexts in core/lib/Drupal/Core/Cache/Cache.php
Merges arrays of cache contexts and removes duplicates.
CacheableMetadataTest::testAddCacheableDependency in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@covers ::addCacheableDependency @dataProvider providerTestMerge
CacheableMetadataTest::testMerge in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@covers ::merge @dataProvider providerTestMerge
CachePluginBase::generateResultsKey in core/modules/views/src/Plugin/views/cache/CachePluginBase.php
Calculates and sets a cache ID used for the result cache.
CacheTest::testMergeCacheContexts in core/tests/Drupal/Tests/Core/Cache/CacheTest.php
@covers ::mergeContexts
CommentRssTest::testCommentRss in core/modules/comment/tests/src/Functional/CommentRssTest.php
Tests comments as part of an RSS feed.
ContentTranslationManageAccessCheckTest::setUp in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
ContextTest::testSetContextValueCacheableDependency in core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
@covers ::setContextValue
DateFormatAccessControlHandlerTest::testAccessProvider in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
EntityAccessCheckTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
EntityCacheTagsTestBase::createCacheId in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
Creates a cache ID from a list of cache keys and a set of cache contexts.
EntityCacheTagsTestBase::testReferencedEntity in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
Tests cache tags presence and invalidation of the entity when referenced.
EntityConditionTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
EntityCreateAccessCheckTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityFormDisplayAccessControlHandlerTest::setUp in core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php
EntityUnitTest::testCacheContexts in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
@covers ::getCacheContexts @covers ::addCacheContexts
EntityViewBuilderTest::testEntityViewBuilderCache in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
Tests entity render cache handling.
EntityViewBuilderTest::testEntityViewBuilderCacheWithReferences in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
Tests entity render cache with references.
EntryPointTest::testEntryPoint in core/modules/jsonapi/tests/src/Functional/EntryPointTest.php
Test GET to the entry point.
FieldStorageConfigAccessControlHandlerTest::setUp in core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php
FormBuilderTest::setUp in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
ForumBreadcrumbBuilderBaseTest::setUp in core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php
FrontPageTest::doTestFrontPageViewCacheTags in core/modules/node/tests/src/Functional/Views/FrontPageTest.php
Tests the cache tags on the front page.
LatestRevisionCheckTest::setUp in core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php
LocalActionManagerTest::getActionsForRouteProvider in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
LocalActionManagerTest::setUp in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
MenuAccessControlHandlerTest::testAccessProvider in core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
MenuLinkTreeTest::setUp in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
NodeOperationAccessTest::setUp in core/modules/node/tests/src/Unit/NodeOperationAccessTest.php
OffsetPageTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php
PagerTestController::showPagerCacheContext in core/modules/system/tests/modules/pager_test/src/Controller/PagerTestController.php
#pre_render callback for #type => pager that shows the pager cache context.
PermissionAccessCheckTest::setUp in core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
QuickEditEntityFieldAccessCheckTest::setUp in core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php
RendererTestBase::setUp in core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
ResourceTestBase::assertResourceResponse in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Asserts that a resource response has the given status code and body.
RoleAccessCheckTest::testRoleAccess in core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php
Tests role requirements on routes.
SortTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/SortTest.php
TokenTest::setUp in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
UrlGeneratorTest::setUp in core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UserAccessControlHandlerTest::setUp in core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
WorkflowAccessControlHandlerTest::checkAccessProvider in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php
Data provider for ::testCheckAccess.
WorkspaceCacheContextTest::testWorkspaceCacheContext in core/modules/workspaces/tests/src/Functional/WorkspaceCacheContextTest.php
Tests the 'workspace' cache context.