public function AutocompletionConfiguration::getMaxSuggestions in Search Autocomplete 8
Same name and namespace in other branches
- 2.x 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 270
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function getMaxSuggestions() {
return $this->maxSuggestions;
}