You are here

function search_theme in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/search/search.module \search_theme()
  2. 7 modules/search/search.module \search_theme()
  3. 9 core/modules/search/search.module \search_theme()

Implementation of hook_theme()

File

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

Code

function search_theme() {
  return array(
    'search_theme_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'template' => 'search-theme-form',
    ),
    'search_block_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'template' => 'search-block-form',
    ),
    'search_result' => array(
      'arguments' => array(
        'result' => NULL,
        'type' => NULL,
      ),
      'file' => 'search.pages.inc',
      'template' => 'search-result',
    ),
    'search_results' => array(
      'arguments' => array(
        'results' => NULL,
        'type' => NULL,
      ),
      'file' => 'search.pages.inc',
      'template' => 'search-results',
    ),
  );
}