You are here

protected function FeedExpireHandler::getExpiredIds in Feeds 8.3

Returns feed item ID's to expire.

Parameters

\Drupal\feeds\FeedInterface $feed: The feed for which to get the expired item ID's.

Return value

array A list of item ID's.

1 call to FeedExpireHandler::getExpiredIds()
FeedExpireHandler::startBatchExpire in src/FeedExpireHandler.php
Starts a batch for expiring items.

File

src/FeedExpireHandler.php, line 62

Class

FeedExpireHandler
Expires the items of a feed.

Namespace

Drupal\feeds

Code

protected function getExpiredIds(FeedInterface $feed) {
  return $feed
    ->getType()
    ->getProcessor()
    ->getExpiredIds($feed);
}