You are here

public function ProcessorInterface::expireItem in Feeds 8.3

Deletes feed items older than REQUEST_TIME - $time.

Do not invoke expire on a processor directly. This is called automatically after an import completes.

Parameters

\Drupal\feeds\FeedInterface $feed: The feed to expire items for.

int $item_id: The feed item id to expire.

\Drupal\feeds\StateInterface $state: The state object.

1 method overrides ProcessorInterface::expireItem()
EntityProcessorBase::expireItem in src/Feeds/Processor/EntityProcessorBase.php
Deletes feed items older than REQUEST_TIME - $time.

File

src/Plugin/Type/Processor/ProcessorInterface.php, line 121

Class

ProcessorInterface
Interface for Feeds processor plugins.

Namespace

Drupal\feeds\Plugin\Type\Processor

Code

public function expireItem(FeedInterface $feed, $item_id, StateInterface $state);