public function ResultSet::hasSpellingSuggestions in Google Search Appliance 8
Check if there are suggestions.
Return value
bool TRUE if suggestions exist.
File
- src/
SearchResults/ ResultSet.php, line 327
Class
- ResultSet
- Defines a value object for a search response.
Namespace
Drupal\google_appliance\SearchResultsCode
public function hasSpellingSuggestions() {
return (bool) count($this->spellingSuggestions);
}