public function SavedSearchAccessControlHandler::getRequestStack in Search API Saved Searches 8
Retrieves the request stack.
Return value
\Symfony\Component\HttpFoundation\RequestStack The request stack.
File
- src/
Entity/ SavedSearchAccessControlHandler.php, line 85
Class
- SavedSearchAccessControlHandler
- Provides access checking for saved searches.
Namespace
Drupal\search_api_saved_searches\EntityCode
public function getRequestStack() {
return $this->requestStack ?: \Drupal::service('request_stack');
}