You are here

public function Suggestion::getUserInput in Search API Autocomplete 8

The input entered by the user, if it should be included in the label.

Return value

string|null The input provided by the user.

Overrides SuggestionInterface::getUserInput

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

File

src/Suggestion/Suggestion.php, line 153

Class

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

Namespace

Drupal\search_api_autocomplete\Suggestion

Code

public function getUserInput() {
  return $this->userInput;
}