function apachesolr_index_action_form_submit in Apache Solr Search 6.2
Submit function for the index action form.
See also
apachesolr_index_action_form()
1 string reference to 'apachesolr_index_action_form_submit'
- apachesolr_index_action_form in ./
apachesolr.admin.inc - Create a form for deleting the contents of the Solr index.
File
- ./
apachesolr.admin.inc, line 418 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_index_action_form_submit($form, &$form_state) {
switch ($form_state['values']['action']) {
case 'remaining':
apachesolr_batch_index_remaining();
break;
case 'reindex':
$form_state['redirect'] = 'admin/settings/apachesolr/index/confirm/clear';
break;
case 'delete':
$form_state['redirect'] = 'admin/settings/apachesolr/index/confirm/delete';
break;
}
}