search_theme

  1. drupal
    1. 6
    2. 8
    3. 7
Versions
6 – 7 search_theme()

Implements hook_theme().

Code

modules/search/search.module, line 102

<?php
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',
    ),
  );
}
?>