public function IndexController::setRequestStack in Search API 8
Sets the request stack.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The new request stack.
Return value
$this
File
- src/
Controller/ IndexController.php, line 77
Class
- IndexController
- Provides route responses for search indexes.
Namespace
Drupal\search_api\ControllerCode
public function setRequestStack(RequestStack $request_stack) {
$this->requestStack = $request_stack;
return $this;
}