You are here

function google_cse_results_set_title in Google Custom Search Engine 6

Return the Google CSE page title, either a setting or a translation.

2 calls to google_cse_results_set_title()
google_cse_results in ./google_cse.module
Render the search page and custom title.
google_search in ./google.module
Implementation of hook_search().

File

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

Code

function google_cse_results_set_title() {
  drupal_set_title(($var = variable_get('google_cse_results_title', '')) ? check_plain($var) : t('Search'));
}