1 search_extra_type.module | search_extra_type_search_page($results) |
Implements hook_search_page().
Adds some text to the search page so we can verify that it runs.
File
- core/
modules/ search/ tests/ search_extra_type/ search_extra_type.module, line 55 - Dummy module implementing a search type for search module testing.
Code
function search_extra_type_search_page($results) {
return array(
'#prefix' => '<h2>Test page text is here</h2>',
'#theme' => 'search_results',
'#results' => $results,
'#module' => 'search_extra_type',
);
}