function apachesolr_attachments_index_action_form_reset_submit in Apache Solr Attachments 7
Same name and namespace in other branches
- 6.3 apachesolr_attachments.admin.inc \apachesolr_attachments_index_action_form_reset_submit()
Submit handler for the Indexer actions form, reset button.
1 string reference to 'apachesolr_attachments_index_action_form_reset_submit'
- apachesolr_attachments_index_action_form in ./
apachesolr_attachments.admin.inc - Form builder for the Apachesolr Attachments actions form.
File
- ./
apachesolr_attachments.admin.inc, line 204 - Provides a file attachment search implementation for use with the Apache Solr module
Code
function apachesolr_attachments_index_action_form_reset_submit($form, &$form_state) {
$destination = array();
if (isset($_GET['destination'])) {
$destination = drupal_get_destination();
unset($_GET['destination']);
}
$env_id = $form_state['values']['env_id'];
$form_state['redirect'] = array(
'admin/config/search/apachesolr/attachments/confirm/clear-cache',
array(
'query' => $destination,
),
);
}