You are here

public function SearchApiQuery::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.

See also

\Drupal\search_api\Query\QueryInterface::getOptions()

File

src/Plugin/views/query/SearchApiQuery.php, line 1495

Class

SearchApiQuery
Defines a Views query class for searching on Search API indexes.

Namespace

Drupal\search_api\Plugin\views\query

Code

public function &getOptions() {
  if (!$this
    ->shouldAbort()) {
    return $this->query
      ->getOptions();
  }
  $ret = NULL;
  return $ret;
}