5.x search.module search_forms()
6.x search.module search_forms()
7.x 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;
}