You are here

public function SavedSearchAccessControlHandler::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/Entity/SavedSearchAccessControlHandler.php, line 97

Class

SavedSearchAccessControlHandler
Provides access checking for saved searches.

Namespace

Drupal\search_api_saved_searches\Entity

Code

public function setRequestStack(RequestStack $request_stack) {
  $this->requestStack = $request_stack;
  return $this;
}