function ProcessorInterface::delete

Same name and namespace in other branches
  1. 8.9.x 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\Plugin

Code

public function delete(FeedInterface $feed);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.