You are here

public function SystemBrandingBlock::getCacheTags in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::getCacheTags()
  2. 10 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::getCacheTags()

Overrides ContextAwarePluginTrait::getCacheTags

File

core/modules/system/src/Plugin/Block/SystemBrandingBlock.php, line 177

Class

SystemBrandingBlock
Provides a block to display 'Site branding' elements.

Namespace

Drupal\system\Plugin\Block

Code

public function getCacheTags() {
  return Cache::mergeTags(parent::getCacheTags(), $this->configFactory
    ->get('system.site')
    ->getCacheTags());
}