You are here

function apachesolr_environment_clone_form_submit in Apache Solr Search 6.3

Same name and namespace in other branches
  1. 8 apachesolr.admin.inc \apachesolr_environment_clone_form_submit()
  2. 7 apachesolr.admin.inc \apachesolr_environment_clone_form_submit()

File

./apachesolr.admin.inc, line 88
Administrative pages for the Apache Solr framework.

Code

function apachesolr_environment_clone_form_submit($form, &$form_state) {
  if (apachesolr_environment_clone($form_state['values']['env_id'])) {
    drupal_set_message(t('The search environment was cloned'));
  }
  $form_state['redirect'] = 'admin/settings/apachesolr/settings';
}