You are here

protected function HttpFetcher::useCache in Feeds 8.3

Returns if the cache should be used.

Return value

bool True if results should be cached. False otherwise.

1 call to HttpFetcher::useCache()
HttpFetcher::fetch in src/Feeds/Fetcher/HttpFetcher.php
Fetch content from a feed and return it.

File

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

Class

HttpFetcher
Defines an HTTP fetcher.

Namespace

Drupal\feeds\Feeds\Fetcher

Code

protected function useCache() {
  return !$this->configuration['always_download'];
}