You are here

function location_taxonomize_bulk_taxonomize_finished in Location Taxonomize 7

Same name and namespace in other branches
  1. 7.2 location_taxonomize.module \location_taxonomize_bulk_taxonomize_finished()

Last function to run after bulk taxonomize operation

1 string reference to 'location_taxonomize_bulk_taxonomize_finished'
location_taxonomize_bulk_taxonomize in ./location_taxonomize.module
Calls the Batch API to run the bulk operation function

File

./location_taxonomize.module, line 375

Code

function location_taxonomize_bulk_taxonomize_finished($success, $results, $operations) {
  $success = t('Bulk Taxonomize completed successfully!');
  $locs = t('Processed @num locations', array(
    '@num' => $results['processed'],
  ));
  $terms = t('Saved @num new terms to the Location Vocabulary', array(
    '@num' => $results['added'],
  ));
  drupal_set_message($success);
  drupal_set_message($locs);
  drupal_set_message($terms);
}