You are here

protected function TestUiParser::executeContext in Feeds extensible parsers 8

Returns rows to be parsed.

Parameters

\Drupal\feeds\FeedInterface $feed: Source information.

\Drupal\feeds\Result\FetcherResultInterface $fetcher_result: The result returned by the fetcher.

\Drupal\feeds\StateInterface $state: The state object.

Return value

array|Traversable Some iterable that returns rows.

Overrides ParserBase::executeContext

File

tests/modules/feeds_ex_test/src/Feeds/Parser/TestUiParser.php, line 24

Class

TestUiParser
A minimal implementation of a parser for UI testing.

Namespace

Drupal\feeds_ex_test\Feeds\Parser

Code

protected function executeContext(FeedInterface $feed, FetcherResultInterface $fetcher_result, StateInterface $state) {
  return [];
}