public function AutocompletionConfigurationInterface::setMinChar in Search Autocomplete 2.x
Same name and namespace in other branches
- 8 src/AutocompletionConfigurationInterface.php \Drupal\search_autocomplete\AutocompletionConfigurationInterface::setMinChar()
Sets how many characters needs to be entered in the field before autocompletion occurs.
Parameters
int $min_char: The number of characters to enter before autocompletion starts.
1 method overrides AutocompletionConfigurationInterface::setMinChar()
- AutocompletionConfiguration::setMinChar in src/
Entity/ AutocompletionConfiguration.php - Sets how many characters needs to be entered in the field before autocompletion occurs.
File
- src/
AutocompletionConfigurationInterface.php, line 156
Class
- AutocompletionConfigurationInterface
- Provides an interface defining an autocompletion configuration entity.
Namespace
Drupal\search_autocompleteCode
public function setMinChar($min_char);