Implements \Drupal\aggregator\Plugin\ProcessorInterface::postProcess().
Overrides ProcessorInterface::postProcess
File
- drupal/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php, line 84
- Contains \Drupal\aggregator_test\Plugin\aggregator\processor\TestProcessor.
Class
- TestProcessor
- Defines a default processor implementation.
Namespace
Drupal\aggregator_test\Plugin\aggregator\processor
Code
public function postProcess(Feed $feed) {
$feed->refresh->value *= 2;
$feed
->save();
}