function _sheetnode_google_batch_import_finished in Sheetnode 7.2
Same name and namespace in other branches
- 6 modules/sheetnode_google/sheetnode_google.import.inc \_sheetnode_google_batch_import_finished()
- 7 modules/sheetnode_google/sheetnode_google.import.inc \_sheetnode_google_batch_import_finished()
1 string reference to '_sheetnode_google_batch_import_finished'
- sheetnode_google_batch_import in modules/
sheetnode_google/ sheetnode_google.module - API function to batch import several files using Batch API.
File
- modules/
sheetnode_google/ sheetnode_google.import.inc, line 220 - Extension to sheetnode for importing from Google sheets.
Code
function _sheetnode_google_batch_import_finished($success, $results, $operations) {
$batch =& batch_get();
if (empty($batch['redirect']) && !empty($results)) {
drupal_goto('node/' . $results[0]);
}
}