You are here

public function SuggestionInterface::getSuggestionPrefix in Search API Autocomplete 8

Retrieves the prefix suggested for the entered keys.

Return value

string|null The suggested prefix, if any.

1 method overrides SuggestionInterface::getSuggestionPrefix()
Suggestion::getSuggestionPrefix in src/Suggestion/Suggestion.php
Retrieves the prefix suggested for the entered keys.

File

src/Suggestion/SuggestionInterface.php, line 62

Class

SuggestionInterface
Defines a single autocompletion suggestion.

Namespace

Drupal\search_api_autocomplete\Suggestion

Code

public function getSuggestionPrefix();