public function FetcherInterface::fetch in Feeds 8.3
Fetch content from a feed and return it.
Parameters
\Drupal\feeds\FeedInterface $feed: The feed to fetch results for.
\Drupal\feeds\StateInterface $state: The state object.
Return value
\Drupal\feeds\Result\FetcherResultInterface A fetcher result object.
3 methods override FetcherInterface::fetch()
- DirectoryFetcher::fetch in src/
Feeds/ Fetcher/ DirectoryFetcher.php - Fetch content from a feed and return it.
- HttpFetcher::fetch in src/
Feeds/ Fetcher/ HttpFetcher.php - Fetch content from a feed and return it.
- UploadFetcher::fetch in src/
Feeds/ Fetcher/ UploadFetcher.php - Fetch content from a feed and return it.
File
- src/
Plugin/ Type/ Fetcher/ FetcherInterface.php, line 25
Class
- FetcherInterface
- Interface for Feeds fetchers.
Namespace
Drupal\feeds\Plugin\Type\FetcherCode
public function fetch(FeedInterface $feed, StateInterface $state);