public function SearchInterface::setSuggesters in Search API Autocomplete 8
Sets this search's suggester plugins.
Parameters
\Drupal\search_api_autocomplete\Suggester\SuggesterInterface[] $suggesters: An array of suggesters.
Return value
$this
1 method overrides SearchInterface::setSuggesters()
- Search::setSuggesters in src/
Entity/ Search.php - Sets this search's suggester plugins.
File
- src/
SearchInterface.php, line 125
Class
- SearchInterface
- Describes the autocomplete settings for a certain search.
Namespace
Drupal\search_api_autocompleteCode
public function setSuggesters(array $suggesters);