public function CustomSearchAdBlock::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/ CustomSearchAdBlock.php, line 157
Class
- CustomSearchAdBlock
- Provides an AdSense Custom Search ad block.
Namespace
Drupal\adsense\Plugin\BlockCode
public function getCacheTags() {
return Cache::mergeTags(parent::getCacheTags(), $this->configFactory
->get('adsense.settings')
->getCacheTags());
}