function simple_gse_search_form_pre_render in Simple Google Custom Search Engine 7
Pre-render function for the search form.
Since the form GETs rather than POSTs, this will remove a bunch of Drupal- specific paramters.
1 string reference to 'simple_gse_search_form_pre_render'
- simple_gse_search_form in ./
simple_gse_search.module - Search form. Used as the content for the custom block.
File
- ./
simple_gse_search.module, line 109 - Module file for Simple GSE Search
Code
function simple_gse_search_form_pre_render($form) {
unset($form['form_token']);
unset($form['form_build_id']);
unset($form['form_id']);
return $form;
}