function search_api_page_theme in Search API Pages 7
Same name and namespace in other branches
- 8 search_api_page.module \search_api_page_theme()
Implements hook_theme().
File
- ./
search_api_page.module, line 73 - Generate search pages using Search API indexes.
Code
function search_api_page_theme() {
$themes['search_api_page_full_page'] = array(
'variables' => array(
'form' => array(),
'results' => array(),
),
'template' => 'search-api-page-full-page',
);
$themes['search_api_page_results'] = array(
'variables' => array(
'index' => NULL,
'results' => array(
'result count' => 0,
),
'items' => array(),
'view_mode' => 'search_api_page_result',
'keys' => NULL,
'page' => NULL,
'spellcheck' => NULL,
'pager' => NULL,
'no_results_help',
),
'file' => 'search_api_page.pages.inc',
'template' => 'search-api-page-results',
);
$themes['search_api_page_result'] = array(
'variables' => array(
'index' => NULL,
'result' => NULL,
'item' => NULL,
'keys' => NULL,
'list_classes' => '',
),
'file' => 'search_api_page.pages.inc',
'template' => 'search-api-page-result',
);
$themes['search_api_page_search_performance'] = array(
'render element' => 'element',
);
return $themes;
}