function lexicon_search_form_submit in Lexicon 6
File
- ./
lexicon.module, line 302 - Lexicon is used to create lists of terms and definitions to use on a website and optionally mark them in the content with an indicator.
Code
function lexicon_search_form_submit($form, &$form_state) {
$keys = trim($form_state['values']['keys']);
$form_state['redirect'] = 'lexicon/search/' . $keys;
}