You are here

public function AutocompletionConfigurationInterface::setSource in Search Autocomplete 8

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

Code

public function setSource($source);