You are here

function search_log_search_block_form_submit in Search Log 7

Same name and namespace in other branches
  1. 8 search_log.module \search_log_search_block_form_submit()

Process block search form to capture keys.

1 string reference to 'search_log_search_block_form_submit'
search_log_form_alter in ./search_log.module
Implements hook_form_alter().

File

./search_log.module, line 150
Replaces default report of top search phrases.

Code

function search_log_search_block_form_submit($form, &$form_state) {
  $keys = isset($form_state['values']['search_block_form']) ? $form_state['values']['search_block_form'] : NULL;
  if ($keys) {
    _search_log_preprocess_search_form($form_state['values'], $keys);
  }
}