Skip navigation
Help

search_theme

6 search.module search_theme()
7 search.module search_theme()

Implements hook_theme().

File

drupal/modules/search/search.module, line 102
Enables site-wide keyword searching.

Code

function search_theme() {
  return array(
    'search_block_form' => array(
      'render element' => 'form', 
      'template' => 'search-block-form',
    ), 
    'search_result' => array(
      'variables' => array('result' => NULL, 'module' => NULL), 
      'file' => 'search.pages.inc', 
      'template' => 'search-result',
    ), 
    'search_results' => array(
      'variables' => array('results' => NULL, 'module' => NULL), 
      'file' => 'search.pages.inc', 
      'template' => 'search-results',
    ),
  );
}