function search_forms

7.x search.module search_forms()
6.x search.module search_forms()

File

drupal-6.x/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;
}