public function ProcessorInterface::process

Processes feed data.

Parameters

\Drupal\aggregator\Plugin\Core\Entity\Feed $feed: A feed object representing the resource to be processed. $feed->items contains an array of feed items downloaded and parsed at the parsing stage. See \Drupal\aggregator\Plugin\FetcherInterface::parse() for the basic format of a single item in the $feed->items array. For the exact format refer to the particular parser in use.

2 methods override ProcessorInterface::process()
DefaultProcessor::process in drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php
Implements \Drupal\aggregator\Plugin\ProcessorInterface::process().
TestProcessor::process in drupal/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php
Implements \Drupal\aggregator\Plugin\ProcessorInterface::process().

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/ProcessorInterface.php, line 59
Contains \Drupal\aggregator\Plugin\ProcessorInterface.

Class

ProcessorInterface
Defines an interface for aggregator processor implementations.

Namespace

Drupal\aggregator\Plugin

Code

public function process(Feed $feed);