You are here

public function AutocompletionConfigurationInterface::setMaxSuggestions in Search Autocomplete 2.x

Same name and namespace in other branches
  1. 8 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_autocomplete

Code

public function setMaxSuggestions($max_suggestions);