ItemsImporterInterface::refresh

public ItemsImporterInterface::refresh(FeedInterface $feed)

Updates the feed items by triggering the import process.

This process can be slow and lengthy because it relies on network operations. Calling it on performance critical paths should be avoided.

Parameters

\Drupal\aggregator\FeedInterface $feed: The feed which items should be refreshed.

Return value

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

File

core/modules/aggregator/src/ItemsImporterInterface.php, line 22

Class

ItemsImporterInterface
Provides an interface defining an aggregator items importer.

Namespace

Drupal\aggregator

Code

public function refresh(FeedInterface $feed);
doc_Drupal
2016-10-29 09:21:23
Comments
Leave a Comment

Please login to continue.