30 calls to Cache::mergeContexts() in Zircon Profile 8
- ArgumentPluginBase::getCacheContexts in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - The cache contexts associated with this object.
- AssertPageCacheContextsAndTagsTrait::assertCacheContexts in core/
modules/ system/ src/ Tests/ Cache/ AssertPageCacheContextsAndTagsTrait.php - Ensures that some cache contexts are present in the current response.
- AssertViewsCacheTagsTrait::assertViewsCacheTags in core/
modules/ views/ src/ Tests/ AssertViewsCacheTagsTrait.php - Asserts a view's result & render cache items' cache tags.
- AssertViewsCacheTagsTrait::assertViewsCacheTagsFromStaticRenderArray in core/
modules/ views/ src/ Tests/ AssertViewsCacheTagsTrait.php - Asserts a view's result & render cache items' cache tags.
- BlockContentCacheTagsTest::testBlock in core/
modules/ block_content/ src/ Tests/ BlockContentCacheTagsTest.php - Tests that the block is cached with the correct contexts and tags.
- BlockViewBuilder::viewMultiple in core/
modules/ block/ src/ BlockViewBuilder.php - Builds the render array for the provided entities.
- BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability in core/
modules/ block/ src/ Tests/ BlockViewBuilderTest.php - Asserts that a block is built/rendered/cached with expected cacheability.
- BlockViewBuilderTest::testBlockViewBuilderBuildAlter in core/
modules/ block/ src/ Tests/ BlockViewBuilderTest.php - Tests block build altering.
- BookNavigationBlock::getCacheContexts in core/
modules/ book/ src/ Plugin/ Block/ BookNavigationBlock.php - CacheableMetadata::merge in core/
lib/ Drupal/ Core/ Cache/ CacheableMetadata.php - Merges the values of another CacheableMetadata object with this one.
- CacheTagTest::getRenderCache in core/
modules/ views/ src/ Tests/ Plugin/ CacheTagTest.php - Gets the render cache for a given view.
- ContentTranslationUITestBase::doTestBasicTranslation in core/
modules/ content_translation/ src/ Tests/ ContentTranslationUITestBase.php - Tests the basic translation workflow.
- ContextAwarePluginBase::getCacheContexts in core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginBase.php - EntityCacheTagsTestBase::testReferencedEntity in core/
modules/ system/ src/ Tests/ Entity/ EntityCacheTagsTestBase.php - Tests cache tags presence and invalidation of the entity when referenced.
- EntityWithUriCacheTagsTestBase::testEntityUri in core/
modules/ system/ src/ Tests/ Entity/ EntityWithUriCacheTagsTestBase.php - Tests cache tags presence and invalidation of the entity at its URI.
- ForumBlockBase::getCacheContexts in core/
modules/ forum/ src/ Plugin/ Block/ ForumBlockBase.php - FrontPageTest::doTestFrontPageViewCacheTags in core/
modules/ node/ src/ Tests/ Views/ FrontPageTest.php - Tests the cache tags on the front page.
- HelpBlock::getCacheContexts in core/
modules/ help/ src/ Plugin/ Block/ HelpBlock.php - HtmlRenderer::renderResponse in core/
lib/ Drupal/ Core/ Render/ MainContent/ HtmlRenderer.php - The entire HTML: takes a #type 'page' and wraps it in a #type 'html'.
- LocalActionsBlock::getCacheContexts in core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalActionsBlock.php - RefinableCacheableDependencyTrait::addCacheContexts in core/
lib/ Drupal/ Core/ Cache/ RefinableCacheableDependencyTrait.php - Renderer::doRender in core/
lib/ Drupal/ Core/ Render/ Renderer.php - See the docs for ::render().
- RouterTest::testFinishResponseSubscriber in core/
modules/ system/ src/ Tests/ Routing/ RouterTest.php - Confirms that our FinishResponseSubscriber logic works properly.
- SortRandomTest::testRandomOrderingWithRenderCaching in core/
modules/ views/ src/ Tests/ Handler/ SortRandomTest.php - Tests random ordering with tags based caching.
- StyleSerializerTest::testRestRenderCaching in core/
modules/ rest/ src/ Tests/ Views/ StyleSerializerTest.php - Tests REST export with views render caching enabled.
- SystemMenuBlock::getCacheContexts in core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php - ToolbarCacheContextsTest::assertToolbarCacheContexts in core/
modules/ toolbar/ src/ Tests/ ToolbarCacheContextsTest.php - Tests that cache contexts are applied for both users.
- UrlTest::testLinkBubbleableMetadata in core/
modules/ system/ src/ Tests/ Common/ UrlTest.php - Tests that #type=link bubbles outbound route/path processors' metadata.
- user_toolbar in core/
modules/ user/ user.module - Implements hook_toolbar().
- View::addCacheMetadata in core/
modules/ views/ src/ Entity/ View.php - Fills in the cache metadata of this view.