public function SuggestionInterface::getPrefix in Search API Autocomplete 8
Retrieves the prefix for the suggestion.
For special kinds of suggestions, this will contain some kind of prefix describing them.
Return value
string|null The prefix, if set.
1 method overrides SuggestionInterface::getPrefix()
- Suggestion::getPrefix in src/
Suggestion/ Suggestion.php - Retrieves the prefix for the suggestion.
File
- src/
Suggestion/ SuggestionInterface.php, line 43
Class
- SuggestionInterface
- Defines a single autocompletion suggestion.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function getPrefix();