function search_forms

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!search!search.module/function/search_forms/7.x