You are here

public function FeedInterface::refreshItems in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::refreshItems()

Updates the feed items by triggering the import process.

This will also update the last checked time of the feed and save it.

Return value

bool TRUE if there is new content for the feed FALSE otherwise.

See also

\Drupal\aggregator\ItemsImporterInterface::refresh()

1 method overrides FeedInterface::refreshItems()
Feed::refreshItems in core/modules/aggregator/src/Entity/Feed.php
Updates the feed items by triggering the import process.

File

core/modules/aggregator/src/FeedInterface.php, line 237

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function refreshItems();