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