You are here

public function AutocompletionConfigurationInterface::setMinChar in Search Autocomplete 8

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

Code

public function setMinChar($min_char);