public function AutocompletionConfigurationInterface::setSource in Search Autocomplete 2.x
Same name and namespace in other branches
- 8 src/AutocompletionConfigurationInterface.php \Drupal\search_autocomplete\AutocompletionConfigurationInterface::setSource()
Sets the source to retrieve suggestions.
Parameters
string $source: The source name to retrieve suggestions.
1 method overrides AutocompletionConfigurationInterface::setSource()
- AutocompletionConfiguration::setSource in src/
Entity/ AutocompletionConfiguration.php - Sets the source to retrieve suggestions.
File
- src/
AutocompletionConfigurationInterface.php, line 221
Class
- AutocompletionConfigurationInterface
- Provides an interface defining an autocompletion configuration entity.
Namespace
Drupal\search_autocompleteCode
public function setSource($source);