You are here

function search_forms in Drupal 5

Same name and namespace in other branches
  1. 6 modules/search/search.module \search_forms()
  2. 7 modules/search/search.module \search_forms()

File

modules/search/search.module, line 1284
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;
}