You are here

function google_cse_forms in Google Custom Search Engine 5

Same name and namespace in other branches
  1. 6 google_cse.module \google_cse_forms()

Implementation of hook_forms();

File

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

Code

function google_cse_forms() {
  $forms = array();
  $forms['google_cse_searchbox_form'] = array(
    'callback' => 'google_cse_searchbox_formbuilder',
    'callback arguments' => array(
      'searchbox',
    ),
  );
  $forms['google_cse_results_searchbox_form'] = array(
    'callback' => 'google_cse_searchbox_formbuilder',
    'callback arguments' => array(
      'results_searchbox',
    ),
  );
  return $forms;
}