You are here

public function Page::getQueryHelper in Search API Autocomplete 8

Retrieves the query helper.

Return value

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

File

src/Plugin/search_api_autocomplete/search/Page.php, line 77

Class

Page
Provides autocomplete support for the search_api_page module.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\search

Code

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