You are here

public function Search::setOptions in Search API Autocomplete 8

Sets the search options.

Parameters

array $options: The options.

Return value

$this

Overrides SearchInterface::setOptions

File

src/Entity/Search.php, line 389

Class

Search
Describes the autocomplete settings for a certain search.

Namespace

Drupal\search_api_autocomplete\Entity

Code

public function setOptions(array $options) {
  $this->options = $options;
  return $this;
}