function word_link_exchange_import_batch_finish in Word Link 8
Same name and namespace in other branches
- 7.2 modules/word_link_exchange/word_link_exchange.module \word_link_exchange_import_batch_finish()
- 7 modules/word_link_exchange/word_link_exchange.module \word_link_exchange_import_batch_finish()
Batch import finish.
1 string reference to 'word_link_exchange_import_batch_finish'
- word_link_exchange_import_form_submit in modules/
word_link_exchange/ word_link_exchange.module - Submit for word_link_exchange_import_form.
File
- modules/
word_link_exchange/ word_link_exchange.module, line 340 - Code for the Word link exchange module.
Code
function word_link_exchange_import_batch_finish($success, $results, $operations) {
if ($success) {
drupal_set_message(format_plural($results['created'], 'One word imported.', '@count words imported.'));
drupal_set_message(format_plural($results['processed'], 'One item processed.', '@count items processed.'));
}
else {
drupal_set_message(t('Finished with an error.'), 'error');
}
}