public function Search::getSuggesterWeights in Search API Autocomplete 8
Retrieves the weights set for the search's suggesters.
Return value
int[] The suggester weights, keyed by suggester ID.
Overrides SearchInterface::getSuggesterWeights
File
- src/
Entity/ Search.php, line 312
Class
- Search
- Describes the autocomplete settings for a certain search.
Namespace
Drupal\search_api_autocomplete\EntityCode
public function getSuggesterWeights() {
return $this->suggester_weights;
}