public function SearchApiMultiQuery::setOption in Search API Multi-Index Searches 7
Sets an option.
Parameters
string $name: The name of an option.
mixed $value: The new value of the option.
Return value
mixed The option's previous value.
Overrides SearchApiMultiQueryInterface::setOption
File
- ./
search_api_multi.query.inc, line 1141
Class
- SearchApiMultiQuery
- Standard implementation of SearchApiMultiQueryInterface.
Code
public function setOption($name, $value) {
$old = $this
->getOption($name);
$this->options[$name] = $value;
return $old;
}