You are here

function google_cse_results_tab in Google Custom Search Engine 7.2

Same name and namespace in other branches
  1. 6 google_cse.module \google_cse_results_tab()
  2. 7.3 google_cse.module \google_cse_results_tab()
  3. 7 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_cse_search_info in ./google_cse.module
Implements hook_search_info().
1 string reference to 'google_cse_results_tab'
google_cse_admin_settings in ./google_cse.admin.inc
Admin settings page for the CSE.

File

./google_cse.module, line 201
Display a Google Custom Search Engine (CSE) on your site.

Code

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