function SystemBrandingBlock::getCacheTags

Same name in other branches
  1. 9 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::getCacheTags()
  2. 8.9.x core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::getCacheTags()
  3. 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());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.