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