public function ProcessorInterface::process in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/aggregator/src/Plugin/ProcessorInterface.php \Drupal\aggregator\Plugin\ProcessorInterface::process()
Processes feed data.
Parameters
\Drupal\aggregator\FeedInterface $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 core/
modules/ aggregator/ src/ Plugin/ aggregator/ processor/ DefaultProcessor.php - Processes feed data.
- TestProcessor::process in core/
modules/ aggregator/ tests/ modules/ aggregator_test/ src/ Plugin/ aggregator/ processor/ TestProcessor.php - Processes feed data.
File
- core/
modules/ aggregator/ src/ Plugin/ ProcessorInterface.php, line 38 - Contains \Drupal\aggregator\Plugin\ProcessorInterface.
Class
- ProcessorInterface
- Defines an interface for aggregator processor implementations.
Namespace
Drupal\aggregator\PluginCode
public function process(FeedInterface $feed);