You are here

function google_cse_results_tab in Google Custom Search Engine 6

Same name and namespace in other branches
  1. 7.3 google_cse.module \google_cse_results_tab()
  2. 7 google_cse.module \google_cse_results_tab()
  3. 7.2 google_cse.module \google_cse_results_tab()

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

1 call to google_cse_results_tab()
google_search in ./google.module
Implementation of hook_search().
3 string references to 'google_cse_results_tab'
google_cse_admin_settings in ./google_cse.admin.inc
Admin settings page for the CSE.
google_cse_menu in ./google_cse.module
Implementation of hook_menu().
google_cse_uninstall in ./google_cse.install
Implementation of hook_uninstall().

File

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

Code

function google_cse_results_tab() {
  return ($var = variable_get('google_cse_results_tab', '')) ? $var : t('Google');
}