function library_search_box_form_submit in Library 6
Same name and namespace in other branches
- 6.2 library.module \library_search_box_form_submit()
1 string reference to 'library_search_box_form_submit'
- library_form_alter in ./
library.module - Implementation of hook_form_alter()
File
- ./
library.module, line 336
Code
function library_search_box_form_submit($form, &$form_state) {
$form_id = $form['form_id']['#value'];
$form_state['redirect'] = 'search/library/' . trim($form_state['values'][$form_id]);
}