コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function getCacheTags()
 {
     $cache_tags = parent::getCacheTags();
     $feed = $this->feedStorage->load($this->configuration['feed']);
     $cache_tags = NestedArray::mergeDeep($cache_tags, $feed->getCacheTag());
     return $cache_tags;
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function getCacheTags()
 {
     $cache_tags = parent::getCacheTags();
     $feed = $this->feedStorage->load($this->configuration['feed']);
     return Cache::mergeTags($cache_tags, $feed->getCacheTags());
 }