You are here

function theme_google_cse_search_noresults in Google Custom Search Engine 8.2

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

Brief message to display when no results match the query.

See also

search_help()

1 string reference to 'theme_google_cse_search_noresults'
google_cse_theme in ./google_cse.module
Implements hook_theme().
1 theme call to theme_google_cse_search_noresults()
GoogleCSESearch::buildResults in src/Plugin/Search/GoogleCSESearch.php
Executes the search and builds render arrays for the result items.

File

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

Code

function theme_google_cse_search_noresults() {
  return t(\Drupal::config('search.page.google_cse_search')
    ->get('no_results_message'));
}