public function SuggestionInterface::setSuggestionPrefix in Search API Autocomplete 8
Sets the suggestion prefix.
Parameters
string|null $suggestion_prefix: The suggestion prefix.
Return value
$this
1 method overrides SuggestionInterface::setSuggestionPrefix()
- Suggestion::setSuggestionPrefix in src/
Suggestion/ Suggestion.php - Sets the suggestion prefix.
File
- src/
Suggestion/ SuggestionInterface.php, line 148
Class
- SuggestionInterface
- Defines a single autocompletion suggestion.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function setSuggestionPrefix($suggestion_prefix);