You are here

public function SuggestionInterface::setResultsCount in Search API Autocomplete 8

Sets the result count.

Parameters

string|null $results: The result count.

Return value

$this

1 method overrides SuggestionInterface::setResultsCount()
Suggestion::setResultsCount in src/Suggestion/Suggestion.php
Sets the result count.

File

src/Suggestion/SuggestionInterface.php, line 178

Class

SuggestionInterface
Defines a single autocompletion suggestion.

Namespace

Drupal\search_api_autocomplete\Suggestion

Code

public function setResultsCount($results);