function google_cse_search_execute in Google Custom Search Engine 7.3
Same name and namespace in other branches
- 7 google_cse.module \google_cse_search_execute()
- 7.2 google_cse.module \google_cse_search_execute()
Implements hook_search_execute().
File
- ./
google_cse.module, line 105 - Display a Google Custom Search Engine (CSE) on your site.
Code
function google_cse_search_execute($keys = NULL, $conditions = NULL) {
// Pass search terms to JS so they can be sent in google_cse_results.js
drupal_add_js(array(
'googleCSE' => array(
'keys' => $keys,
),
), 'setting');
}