You are here

function taxonomy_entity_index_reindex_finished in Taxonomy Entity Index 7

Same name and namespace in other branches
  1. 8 taxonomy_entity_index.module \taxonomy_entity_index_reindex_finished()

Batch 'finished' callback.

See also

taxonomy_entity_index_admin_form()

taxonomy_entity_index_reindex_entity_type()

1 string reference to 'taxonomy_entity_index_reindex_finished'
taxonomy_entity_index_admin_form_submit in ./taxonomy_entity_index.admin.inc
Form submit handler for the batch reindexing form. Processes the batch.

File

./taxonomy_entity_index.module, line 267

Code

function taxonomy_entity_index_reindex_finished($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t('Taxonomy entity index rebuilt successfully.'));
  }
  else {

    // An error occurred.
    $error_operation = reset($operations);
    drupal_set_message(t('An error occurred while processing the operation.'));
  }
}