public function AutocompletionConfigurationInterface::setMaxSuggestions in Search Autocomplete 8
Same name and namespace in other branches
- 2.x src/AutocompletionConfigurationInterface.php \Drupal\search_autocomplete\AutocompletionConfigurationInterface::setMaxSuggestions()
Sets how many suggestions should be displayed among matching suggestions available.
Parameters
int $max_suggestions: The maximum number of suggestions to be displayed.
1 method overrides AutocompletionConfigurationInterface::setMaxSuggestions()
- AutocompletionConfiguration::setMaxSuggestions in src/
Entity/ AutocompletionConfiguration.php - Sets how many suggestions should be displayed among matching suggestions available.
File
- src/
AutocompletionConfigurationInterface.php, line 165
Class
- AutocompletionConfigurationInterface
- Provides an interface defining an autocompletion configuration entity.
Namespace
Drupal\search_autocompleteCode
public function setMaxSuggestions($max_suggestions);