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