function aggregator_feed_load

Loads an aggregator feed.

Parameters

int $fid: The feed id.

Return value

\Drupal\aggregator\Plugin\Core\Entity\Feed An object describing the feed.

4 calls to aggregator_feed_load()
AggregatorTestBase::createFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
Creates an aggregator feed.
aggregator_cron in drupal/core/modules/aggregator/aggregator.module
Implements hook_cron().
CategorizeFeedTest::testCategorizeFeed in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/CategorizeFeedTest.php
Creates a feed and makes sure you can add more than one category to it.
UpdateFeedItemTest::testUpdateFeedItem in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/UpdateFeedItemTest.php
Tests running "update items" from 'admin/config/services/aggregator' page.

File

drupal/core/modules/aggregator/aggregator.module, line 489
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function aggregator_feed_load($fid) {
  return entity_load('aggregator_feed', $fid);
}