function FeedStorage::getFeedIdsToRefresh
Same name in other branches
- 8.9.x core/modules/aggregator/src/FeedStorage.php \Drupal\aggregator\FeedStorage::getFeedIdsToRefresh()
Overrides FeedStorageInterface::getFeedIdsToRefresh
File
-
core/
modules/ aggregator/ src/ FeedStorage.php, line 18
Class
- FeedStorage
- Defines the storage handler class for feed entities.
Namespace
Drupal\aggregatorCode
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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.