You are here

public function Suggestion::getSuggestionSuffix in Search API Autocomplete 8

A suggested suffix for the entered input.

Return value

string|null A suffix.

Overrides SuggestionInterface::getSuggestionSuffix

1 call to Suggestion::getSuggestionSuffix()
Suggestion::toRenderable in src/Suggestion/Suggestion.php
Returns a render array representation of the object.

File

src/Suggestion/Suggestion.php, line 160

Class

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

Namespace

Drupal\search_api_autocomplete\Suggestion

Code

public function getSuggestionSuffix() {
  return $this->suggestionSuffix;
}