public function SystemBrandingBlock::getCacheTags in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::getCacheTags()
The cache tags associated with this object.
When this object is modified, these cache tags will be invalidated.
Return value
string[] A set of cache tags.
Overrides ContextAwarePluginBase::getCacheTags
File
- core/
modules/ system/ src/ Plugin/ Block/ SystemBrandingBlock.php, line 182
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());
}