function search_log_custom_search_blocks_form_submit in Search Log 8
Same name and namespace in other branches
- 7 search_log.module \search_log_custom_search_blocks_form_submit()
Process custom search form to capture keys.
1 string reference to 'search_log_custom_search_blocks_form_submit'
- search_log_form_alter in ./
search_log.module - Implements hook_form_alter().
File
- ./
search_log.module, line 120 - This module holds functions of Search Log Module.
Code
function search_log_custom_search_blocks_form_submit($form, &$form_state) {
$keys = NULL;
foreach ($form_state['values'] as $key => $value) {
if (strpos($key, 'custom_search_blocks_form') !== FALSE) {
$keys = $value;
break;
}
}
if ($keys) {
_search_log_preprocess_search_form($form_state['values'], $keys);
}
}