core/modules/block/src/Tests/BlockSystemBrandingTest.php | 1 - core/modules/system/src/Plugin/Block/SystemBrandingBlock.php | 1 - 2 files changed, 2 deletions(-) diff --git a/core/modules/block/src/Tests/BlockSystemBrandingTest.php b/core/modules/block/src/Tests/BlockSystemBrandingTest.php index 448a1ca..7335350 100644 --- a/core/modules/block/src/Tests/BlockSystemBrandingTest.php +++ b/core/modules/block/src/Tests/BlockSystemBrandingTest.php @@ -41,7 +41,6 @@ public function testSystemBrandingSettings() { $assert_cache_tags = function() { $cache_tags = explode(' ', $this->drupalGetHeader('X-Drupal-Cache-Tags')); $this->assertTrue(in_array('config:system.site', $cache_tags)); - $this->assertTrue(in_array('theme_global_setting', $cache_tags)); }; $site_logo_xpath = '//div[@id="block-site-branding"]//a[@class="site-logo"]'; diff --git a/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php b/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php index 7dd5c54..b7c0b1b 100644 --- a/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php +++ b/core/modules/system/src/Plugin/Block/SystemBrandingBlock.php @@ -192,7 +192,6 @@ public function build() { public function getCacheTags() { return Cache::mergeTags( parent::getCacheTags(), - ['theme_global_setting'], $this->configFactory->get('system.site')->getCacheTags() ); }