public function ManagedAdBlock::getCacheTags in Google AdSense integration 8
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
- src/
Plugin/ Block/ ManagedAdBlock.php, line 277
Class
- ManagedAdBlock
- Provides an AdSense managed ad block.
Namespace
Drupal\adsense\Plugin\BlockCode
public function getCacheTags() {
return Cache::mergeTags(parent::getCacheTags(), $this->configFactory
->get('adsense.settings')
->getCacheTags());
}