function google_cse_theme in Google Custom Search Engine 7
Same name and namespace in other branches
- 8.3 google_cse.module \google_cse_theme()
 - 8 google_cse.module \google_cse_theme()
 - 8.2 google_cse.module \google_cse_theme()
 - 6 google_cse.module \google_cse_theme()
 - 7.3 google_cse.module \google_cse_theme()
 - 7.2 google_cse.module \google_cse_theme()
 
Implements hook_theme().
File
- ./
google_cse.module, line 74  - Display a Google Custom Search Engine (CSE) on your site.
 
Code
function google_cse_theme($existing, $type, $theme, $path) {
  return array(
    'google_cse_results' => array(
      'variables' => array(
        'form' => FALSE,
        'path' => $path,
      ),
      'file' => 'google_cse.theme.inc',
      'template' => 'google_cse_results',
    ),
    'google_cse_results_gadget' => array(
      'variables' => array(),
      'file' => 'google_cse.theme.inc',
      'template' => 'google_cse_results_gadget',
    ),
  );
}