function search_theme
Same name and namespace in other branches
- 7.x drupal-7.x/modules/search/search.module \search_theme()
Implementation of hook_theme()
Archivo
- drupal-6.x/
modules/ search/ search.module, line 116 - Enables site-wide keyword searching.
Código
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',
),
);
}