You are here

public function Query::getOptions in Search API 8

Retrieves all options set for this search query.

The return value is a reference to the options so they can also be altered this way.

Return value

array An associative array of query options.

Overrides QueryInterface::getOptions

File

src/Query/Query.php, line 708

Class

Query
Provides a standard implementation for a Search API query.

Namespace

Drupal\search_api\Query

Code

public function &getOptions() {
  return $this->options;
}