You are here

function apachesolr_search_clone_search_page_confirm_submit in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 apachesolr_search.admin.inc \apachesolr_search_clone_search_page_confirm_submit()
  2. 7 apachesolr_search.admin.inc \apachesolr_search_clone_search_page_confirm_submit()

Submits the confirmations of the cloning of a search page

File

./apachesolr_search.admin.inc, line 623
Administrative settings for searching.

Code

function apachesolr_search_clone_search_page_confirm_submit($form, &$form_state) {
  if (apachesolr_search_page_clone($form_state['values']['page_id'])) {
    drupal_set_message(t('The search page was cloned'));
  }
  $form_state['redirect'] = 'admin/config/search/apachesolr/search-pages';
}