FeedStorage.php in Drupal 8
File
core/modules/aggregator/src/FeedStorage.php
View source
<?php
namespace Drupal\aggregator;
use Drupal\Core\Entity\Sql\SqlContentEntityStorage;
class FeedStorage extends SqlContentEntityStorage implements FeedStorageInterface {
public function getFeedIdsToRefresh() {
return $this->database
->query('SELECT fid FROM {' . $this
->getBaseTable() . '} WHERE queued = 0 AND checked + refresh < :time AND refresh <> :never', [
':time' => REQUEST_TIME,
':never' => static::CLEAR_NEVER,
])
->fetchCol();
}
}