function search_forms in Drupal 7
Same name and namespace in other branches
- 5 modules/search/search.module \search_forms()
- 6 modules/search/search.module \search_forms()
Implements hook_forms().
File
- modules/
search/ search.module, line 1349 - Enables site-wide keyword searching.
Code
function search_forms() {
$forms['search_block_form'] = array(
'callback' => 'search_box',
'callback arguments' => array(
'search_block_form',
),
);
return $forms;
}