You are here

public function Query::setQueryHelper in Search API 8

Sets the query helper.

Parameters

\Drupal\search_api\Utility\QueryHelperInterface $query_helper: The new query helper.

Return value

$this

File

src/Query/Query.php, line 343

Class

Query
Provides a standard implementation for a Search API query.

Namespace

Drupal\search_api\Query

Code

public function setQueryHelper(QueryHelperInterface $query_helper) {
  $this->queryHelper = $query_helper;
  return $this;
}