You are here

public function SaveSearch::setQueryHelper in Search API Saved Searches 8

Sets the query helper.

Parameters

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

Return value

$this

File

src/Plugin/Block/SaveSearch.php, line 135

Class

SaveSearch
Displays the "Save search" form in a block.

Namespace

Drupal\search_api_saved_searches\Plugin\Block

Code

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