You are here

function apachesolr_environment_edit_delete_submit in Apache Solr Search 6.3

Same name and namespace in other branches
  1. 8 apachesolr.admin.inc \apachesolr_environment_edit_delete_submit()
  2. 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 45
Administrative pages for the Apache Solr framework.

Code

function apachesolr_environment_edit_delete_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/settings/apachesolr/settings/' . $form_state['values']['env_id'] . '/delete';

  // Regardlessly of the destination parameter we want to go to another page
  unset($_GET['destination']);
  drupal_get_destination();
}