function search_api_page_theme in Search API Pages 8
Same name and namespace in other branches
- 7 search_api_page.module \search_api_page_theme()
Implements hook_theme().
File
- ./
search_api_page.module, line 88 - Search API pages file.
Code
function search_api_page_theme() {
return [
'search_api_page' => [
'variables' => [
'form' => NULL,
'search_title' => NULL,
'no_of_results' => NULL,
'no_results_found' => NULL,
'search_help' => NULL,
'results' => NULL,
'pager' => NULL,
],
],
'search_api_page_result' => [
'variables' => [
'item' => NULL,
'entity' => NULL,
],
],
];
}