You are here

public function HttpFetcher::onFeedDeleteMultiple in Feeds 8.3

A feed is being deleted.

Overrides PluginBase::onFeedDeleteMultiple

1 call to HttpFetcher::onFeedDeleteMultiple()
HttpFetcher::clear in src/Feeds/Fetcher/HttpFetcher.php
Removes all stored results for a feed.

File

src/Feeds/Fetcher/HttpFetcher.php, line 224

Class

HttpFetcher
Defines an HTTP fetcher.

Namespace

Drupal\feeds\Feeds\Fetcher

Code

public function onFeedDeleteMultiple(array $feeds) {
  foreach ($feeds as $feed) {
    $this->cache
      ->delete($this
      ->getCacheKey($feed));
  }
}