public function AutocompletionConfiguration::setSelector in Search Autocomplete 8
Same name and namespace in other branches
- 2.x src/Entity/AutocompletionConfiguration.php \Drupal\search_autocomplete\Entity\AutocompletionConfiguration::setSelector()
Sets the field selector to apply the autocompletion on.
Parameters
string $selector: The field selector to apply the autocompletion on.
Overrides AutocompletionConfigurationInterface::setSelector
File
- src/
Entity/ AutocompletionConfiguration.php, line 235
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function setSelector($selector) {
$this->selector = $selector;
}