You are here

function google_cse_theme in Google Custom Search Engine 6

Same name and namespace in other branches
  1. 8.3 google_cse.module \google_cse_theme()
  2. 8 google_cse.module \google_cse_theme()
  3. 8.2 google_cse.module \google_cse_theme()
  4. 7.3 google_cse.module \google_cse_theme()
  5. 7 google_cse.module \google_cse_theme()
  6. 7.2 google_cse.module \google_cse_theme()

Implementation of hook_theme().

File

./google_cse.module, line 36
Display a Google Custom Search Engine on your site.

Code

function google_cse_theme() {
  return array(
    'google_cse_results' => array(
      'arguments' => array(
        'form' => TRUE,
        'self' => FALSE,
      ),
      'file' => 'google_cse.theme.inc',
      'template' => 'google_cse_results',
    ),
    'google_cse_results_gadget' => array(
      'arguments' => array(),
      'file' => 'google_cse.theme.inc',
      'template' => 'google_cse_results_gadget',
    ),
  );
}