function prev_next_reindex_confirm_submit in Previous/Next API 7.2
Same name and namespace in other branches
- 6 prev_next.module \prev_next_reindex_confirm_submit()
- 7 prev_next.module \prev_next_reindex_confirm_submit()
@todo Please document this function.
See also
File
- ./
prev_next.admin.inc, line 199 - Creates the administrative interface for previous next.
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/config/system/prev_next';
}
}