You are here

public function FeedsHTTPFetcher::clear in Feeds 8.2

Clear caches.

Overrides FeedsFetcher::clear

File

lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsHTTPFetcher.php, line 49
Contains \Drupal\feeds\Plugin\feeds\fetcher\FeedsHTTPFetcher.

Class

FeedsHTTPFetcher
Defines an HTTP fetcher.

Namespace

Drupal\feeds\Plugin\feeds\fetcher

Code

public function clear(FeedsSource $source) {
  $source_config = $source
    ->getConfigFor($this);
  $url = $source_config['source'];
  feeds_include_library('http_request.inc', 'http_request');
  http_request_clear_cache($url);
}