You are here

public function Index::setOptions in Search API 8

Sets the index's options.

Parameters

array $options: The new index options.

Return value

$this

Overrides IndexInterface::setOptions

File

src/Entity/Index.php, line 328

Class

Index
Defines the search index configuration entity.

Namespace

Drupal\search_api\Entity

Code

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