You are here

public function Suggestion::setSuggestionSuffix in Search API Autocomplete 8

Sets the suggestion suffix.

Parameters

string|null $suggestion_suffix: The suggestion suffix.

Return value

$this

Overrides SuggestionInterface::setSuggestionSuffix

File

src/Suggestion/Suggestion.php, line 229

Class

Suggestion
Provides a value object meant to be used as result of suggestions.

Namespace

Drupal\search_api_autocomplete\Suggestion

Code

public function setSuggestionSuffix($suggestion_suffix) {
  $this->suggestionSuffix = $suggestion_suffix;
  return $this;
}