You are here

public function SearchApiAutocompleteSuggesterPluginBase::setConfiguration in Search API Autocomplete 7

Sets the plugin's configuration.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Return value

$this

Overrides SearchApiAutocompleteSuggesterInterface::setConfiguration

4 calls to SearchApiAutocompleteSuggesterPluginBase::setConfiguration()
SearchApiAutocompleteLiveResultsSuggester::submitConfigurationForm in src/SearchApiAutocompleteLiveResultsSuggester.php
Submits the plugin's configuration form.
SearchApiAutocompleteServerSuggester::submitConfigurationForm in src/SearchApiAutocompleteServerSuggester.php
Submits the plugin's configuration form.
SearchApiAutocompleteSuggesterPluginBase::submitConfigurationForm in src/SearchApiAutocompleteSuggesterPluginBase.php
Submits the plugin's configuration form.
SearchApiAutocompleteSuggesterPluginBase::__construct in src/SearchApiAutocompleteSuggesterPluginBase.php
Constructs a SearchApiAutocompleteSuggesterPluginBase.

File

src/SearchApiAutocompleteSuggesterPluginBase.php, line 125
Contains SearchApiAutocompleteSuggesterPluginBase.

Class

SearchApiAutocompleteSuggesterPluginBase
Provides a base class for suggester plugins.

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration + $this
    ->defaultConfiguration();
  return $this;
}