public function IndexController::getRequest in Search API 8
Retrieves the current request.
Return value
\Symfony\Component\HttpFoundation\Request|null The current request.
File
- src/
Controller/ IndexController.php, line 65
Class
- IndexController
- Provides route responses for search indexes.
Namespace
Drupal\search_api\ControllerCode
public function getRequest() {
return $this
->getRequestStack()
->getCurrentRequest();
}