public function AutocompletionConfiguration::getMaxSuggestions in Search Autocomplete 2.x
Same name and namespace in other branches
- 8 src/Entity/AutocompletionConfiguration.php \Drupal\search_autocomplete\Entity\AutocompletionConfiguration::getMaxSuggestions()
Returns how many suggestions should be displayed among matching suggestions available.
Return value
int The maximum number of suggestions to be displayed.
Overrides AutocompletionConfigurationInterface::getMaxSuggestions
File
- src/
Entity/ AutocompletionConfiguration.php, line 298
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function getMaxSuggestions() {
return $this->maxSuggestions;
}