public static function FeedImport::saveFeedImportStatus in Feed Import 8
Saves feed import status
1 call to FeedImport::saveFeedImportStatus()
- _feed_import_base_process_feed in feed_import_base/
feed_import_base.module - Imports a feed.
File
- feed_import_base/
src/ FeedImport.php, line 379
Class
- FeedImport
- This class provides helper functions for feed import.
Namespace
Drupal\feed_import_baseCode
public static function saveFeedImportStatus($feed) {
db_update('feed_import_settings')
->fields(array(
'last_run' => (int) $feed->last_run,
'last_run_duration' => (int) $feed->last_run_duration,
'last_run_items' => (int) $feed->last_run_items,
))
->condition('machine_name', $feed->machine_name)
->execute();
}