6 calls to Cache::mergeContexts()
- CacheableMetadata::merge in core/
lib/ Drupal/ Core/ Cache/ CacheableMetadata.php - Merges the values of another CacheableMetadata object with this one.
- CacheTest::testMergeCacheContexts in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheTest.php - @covers ::mergeContexts[[api-linebreak]]
- ContextAwarePluginTrait::getCacheContexts in core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginTrait.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'.
- 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().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.