You are here

function prev_next_reindex_confirm_submit in Previous/Next API 6

Same name and namespace in other branches
  1. 7.2 prev_next.admin.inc \prev_next_reindex_confirm_submit()
  2. 7 prev_next.module \prev_next_reindex_confirm_submit()

File

./prev_next.module, line 197

Code

function prev_next_reindex_confirm_submit(&$form, &$form_state) {
  if ($form['confirm']) {
    prev_next_reindex();
    drupal_set_message(t('The Prev/Next index will be rebuilt.'));
    $form_state['redirect'] = 'admin/settings/prev_next';
  }
}