diff --git a/core/modules/views/src/Entity/View.php b/core/modules/views/src/Entity/View.php index 81ec8ae..5ae6fd3 100644 --- a/core/modules/views/src/Entity/View.php +++ b/core/modules/views/src/Entity/View.php @@ -322,7 +322,7 @@ protected function fillCacheInformation() { list($display['cache_information']['contexts'], $display['cache_information']['cacheable']) = $executable->getDisplay()->getCacheInformation(); // Always include at least the language context. $display['cache_information']['contexts'][] = 'cache.context.language'; - $display['cache_information']['contexts'] = array_unique($display['cache']['contexts']); + $display['cache_information']['contexts'] = array_unique($display['cache_information']['contexts']); } }