You are here

protected function FeedsNodeProcessor::expiryQuery in Feeds 8.2

Overrides parent::expiryQuery().

Overrides FeedsProcessor::expiryQuery

File

lib/Drupal/feeds/Plugin/feeds/processor/FeedsNodeProcessor.php, line 161
Contains \Drupal\feeds\Plugin\feeds\fetcher\FeedsNodeProcessor.

Class

FeedsNodeProcessor
Defines a node processor.

Namespace

Drupal\feeds\Plugin\feeds\processor

Code

protected function expiryQuery(FeedsSource $source, $time) {
  $select = parent::expiryQuery($source, $time);
  $select
    ->condition('e.created', REQUEST_TIME - $time, '<');
  return $select;
}