function apachesolr_environment_edit_delete_submit in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr.admin.inc \apachesolr_environment_edit_delete_submit()
- 7 apachesolr.admin.inc \apachesolr_environment_edit_delete_submit()
1 string reference to 'apachesolr_environment_edit_delete_submit'
- apachesolr_environment_edit_form in ./
apachesolr.admin.inc - Form builder for adding/editing a Solr environment used as a menu callback.
File
- ./
apachesolr.admin.inc, line 51 - Administrative pages for the Apache Solr framework.
Code
function apachesolr_environment_edit_delete_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/config/search/apachesolr/settings/' . $form_state['values']['env_id'] . '/delete';
// Regardlessly of the destination parameter we want to go to another page
unset($_GET['destination']);
drupal_static_reset('drupal_get_destination');
drupal_get_destination();
}