You are here

public function SuggestionInterface::setUserInput in Search API Autocomplete 8

Sets the user input.

Parameters

string|null $user_input: The user input.

Return value

$this

1 method overrides SuggestionInterface::setUserInput()
Suggestion::setUserInput in src/Suggestion/Suggestion.php
Sets the user input.

File

src/Suggestion/SuggestionInterface.php, line 158

Class

SuggestionInterface
Defines a single autocompletion suggestion.

Namespace

Drupal\search_api_autocomplete\Suggestion

Code

public function setUserInput($user_input);