function apachesolr_index_action_form_remaining_confirm_submit in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr.admin.inc \apachesolr_index_action_form_remaining_confirm_submit()
- 7 apachesolr.admin.inc \apachesolr_index_action_form_remaining_confirm_submit()
Submit handler for the deletion form.
_state
Parameters
array $form:
File
- ./
apachesolr.admin.inc, line 1010 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_index_action_form_remaining_confirm_submit(array $form, array &$form_state) {
if (!empty($form_state['build_info']['args'][0]['env_id'])) {
$env_id = $form_state['build_info']['args'][0]['env_id'];
$form_state['redirect'] = 'admin/config/search/apachesolr/settings/' . $env_id . '/index';
}
else {
$env_id = apachesolr_default_environment();
$form_state['redirect'] = 'admin/config/search/apachesolr';
}
apachesolr_index_batch_index_remaining($env_id);
}