public function UnsavedIndexConfiguration::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/
UnsavedIndexConfiguration.php, line 233
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function setOptions(array $options) {
$this->entity
->setOptions($options);
return $this;
}