public function AutocompletionConfiguration::setSource in Search Autocomplete 8
Same name and namespace in other branches
- 2.x 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 406
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function setSource($source) {
$this->source = $source;
}