function ItemStorage::loadByFeed
Same name in other branches
- 9 core/modules/aggregator/src/ItemStorage.php \Drupal\aggregator\ItemStorage::loadByFeed()
Overrides ItemStorageInterface::loadByFeed
File
-
core/
modules/ aggregator/ src/ ItemStorage.php, line 38
Class
- ItemStorage
- Controller class for aggregators items.
Namespace
Drupal\aggregatorCode
public function loadByFeed($fid, $limit = NULL) {
$query = \Drupal::entityQuery('aggregator_item')->condition('fid', $fid);
return $this->executeFeedItemQuery($query, $limit);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.