You are here

public function Page::setQueryHelper in Search API Autocomplete 8

Sets the query helper.

Parameters

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

Return value

$this

File

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

Class

Page
Provides autocomplete support for the search_api_page module.

Namespace

Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\search

Code

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