function FeedInterface::refreshItems
Same name in other branches
- 8.9.x 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\aggregatorCode
public function refreshItems();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.