You are here

public function Query::getQueryHelper in Search API 8

Retrieves the query helper.

Return value

\Drupal\search_api\Utility\QueryHelperInterface The query helper.

File

src/Query/Query.php, line 331

Class

Query
Provides a standard implementation for a Search API query.

Namespace

Drupal\search_api\Query

Code

public function getQueryHelper() {
  return $this->queryHelper ?: \Drupal::service('search_api.query_helper');
}