public function Suggestion::getResultsCount in Search API Autocomplete 8
Returns the estimated number of results for this suggestion.
Return value
int|null The estimated number of results, or NULL if no estimate is available.
Overrides SuggestionInterface::getResultsCount
1 call to Suggestion::getResultsCount()
- Suggestion::toRenderable in src/
Suggestion/ Suggestion.php - Returns a render array representation of the object.
File
- src/
Suggestion/ Suggestion.php, line 167
Class
- Suggestion
- Provides a value object meant to be used as result of suggestions.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function getResultsCount() {
return $this->resultsCount;
}