function ItemStorageInterface::loadByFeed

Same name in other branches
  1. 9 core/modules/aggregator/src/ItemStorageInterface.php \Drupal\aggregator\ItemStorageInterface::loadByFeed()

Loads feed items filtered by a feed.

Parameters

int $fid: The feed ID to filter by.

int $limit: (optional) The number of items to return. Defaults to unlimited.

Return value

\Drupal\aggregator\ItemInterface[] An array of the feed items.

1 method overrides ItemStorageInterface::loadByFeed()
ItemStorage::loadByFeed in core/modules/aggregator/src/ItemStorage.php
Loads feed items filtered by a feed.

File

core/modules/aggregator/src/ItemStorageInterface.php, line 45

Class

ItemStorageInterface
Defines an interface for aggregator item entity storage classes.

Namespace

Drupal\aggregator

Code

public function loadByFeed($fid, $limit = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.