public function AutocompletionConfiguration::setMinChar in Search Autocomplete 8
Same name and namespace in other branches
- 2.x src/Entity/AutocompletionConfiguration.php \Drupal\search_autocomplete\Entity\AutocompletionConfiguration::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.
Overrides AutocompletionConfigurationInterface::setMinChar
File
- src/
Entity/ AutocompletionConfiguration.php, line 263
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function setMinChar($min_char) {
$this->minChar = $min_char;
}