You are here

function search_box_form_submit in Drupal 4

Same name and namespace in other branches
  1. 5 modules/search/search.module \search_box_form_submit()
  2. 6 modules/search/search.module \search_box_form_submit()
  3. 7 modules/search/search.module \search_box_form_submit()

Process a block search form submission.

Related topics

File

modules/search.module, line 1047
Enables site-wide keyword searching.

Code

function search_box_form_submit($form_id, $form_values) {
  return 'search/node/' . trim($form_values[$form_id . '_keys']);
}