.../modules/system/src/Plugin/Block/SystemBrandingBlock.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php b/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php index 6d10aff..1d99bb3 100644 --- a/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php +++ b/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php @@ -196,17 +196,4 @@ public function getCacheTags() { return $cache_tags; } - /** - * {@inheritdoc} - */ - protected function getRequiredCacheContexts() { - // The 'Site branding' block must be cached per theme and per language: the - // site logo, name and slogan are defined on a per-theme basis, and the name - // and slogan may be translated. - // We don't need to return 'cache_context.theme' also, because that cache - // context is automatically applied to all blocks. - // @see \Drupal\block\BlockViewBuilder::viewMultiple() - return array('cache_context.language'); - } - }