function sf_import_batchjob_finalize in Salesforce Suite 7.2
Same name and namespace in other branches
- 6.2 sf_import/sf_import.batch.inc \sf_import_batchjob_finalize()
Finished callback for the batch job.
Parameters
bool $success:
array $results:
array $operations:
1 string reference to 'sf_import_batchjob_finalize'
- sf_import_create_batchjob in sf_import/
sf_import.batch.inc - Creates a batch job for a fieldmap.
File
- sf_import/
sf_import.batch.inc, line 38 - Batch API related code.
Code
function sf_import_batchjob_finalize($success, $results, $operations) {
if ($success) {
drupal_set_message(t('Import complete.'));
if (count($results) > 0) {
drupal_set_message(theme('item_list', array(
'items' => $results,
)));
}
}
else {
drupal_set_message(t('Import failed.'));
}
}