public function ProcessorInterface::delete in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/src/Plugin/ProcessorInterface.php \Drupal\aggregator\Plugin\ProcessorInterface::delete()
Deletes stored feed data.
Called by aggregator if either a feed is deleted or a user clicks on "delete items".
Parameters
\Drupal\aggregator\FeedInterface $feed: The $feed object whose items are being deleted.
2 methods override ProcessorInterface::delete()
- DefaultProcessor::delete in core/
modules/ aggregator/ src/ Plugin/ aggregator/ processor/ DefaultProcessor.php - Deletes stored feed data.
- TestProcessor::delete in core/
modules/ aggregator/ tests/ modules/ aggregator_test/ src/ Plugin/ aggregator/ processor/ TestProcessor.php - Deletes stored feed data.
File
- core/
modules/ aggregator/ src/ Plugin/ ProcessorInterface.php, line 57
Class
- ProcessorInterface
- Defines an interface for aggregator processor implementations.
Namespace
Drupal\aggregator\PluginCode
public function delete(FeedInterface $feed);