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