/**
* Implements hook_search_page().
*/
function {{ machine_name }}_search_page($results) {
$output['prefix']['#markup'] = '
';
foreach ($results as $entry) {
$output[] = array(
'#theme' => 'search_result',
'#result' => $entry,
'#module' => 'my_module_name',
);
}
$output['suffix']['#markup'] = '
' . theme('pager');
return $output;
}