You are here

public function SearchInterface::setOption in Search API Autocomplete 8

Sets an option.

Parameters

string $name: The name of an option.

mixed $option: The new option.

Return value

$this

1 method overrides SearchInterface::setOption()
Search::setOption in src/Entity/Search.php
Sets an option.

File

src/SearchInterface.php, line 199

Class

SearchInterface
Describes the autocomplete settings for a certain search.

Namespace

Drupal\search_api_autocomplete

Code

public function setOption($name, $option);