public function FetcherInterface::fetch

Downloads feed data.

Parameters

$feed: A feed object representing the resource to be downloaded. $feed->url contains the link to the feed. Download the data at the URL and expose it to other modules by attaching it to $feed->source_string.

Return value

TRUE if fetching was successful, FALSE otherwise.

1 method overrides FetcherInterface::fetch()
DefaultFetcher::fetch in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php
Implements Drupal\aggregator\Plugin\FetcherInterface::fetch().

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/FetcherInterface.php, line 31
Definition of Drupal\aggregator\Plugin\FetcherInterface.

Class

FetcherInterface
Defines an interface for aggregator fetcher implementations.

Namespace

Drupal\aggregator\Plugin

Code

public function fetch(&$feed);