public function SaveSearch::setRequestStack in Search API Saved Searches 8
Sets the request stack.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The new request stack.
Return value
$this
File
- src/
Plugin/ Block/ SaveSearch.php, line 158
Class
- SaveSearch
- Displays the "Save search" form in a block.
Namespace
Drupal\search_api_saved_searches\Plugin\BlockCode
public function setRequestStack(RequestStack $request_stack) {
$this->requestStack = $request_stack;
return $this;
}