public function DomainRedirectResponse::setRequestContext in Domain Access 8
Sets the request context.
Parameters
\Drupal\Core\Routing\RequestContext $request_context: The request context.
Return value
$this
File
- domain/
src/ DomainRedirectResponse.php, line 79
Class
- DomainRedirectResponse
- A redirect response which understands domain URLs are local to the install.
Namespace
Drupal\domainCode
public function setRequestContext(RequestContext $request_context) {
$this->requestContext = $request_context;
return $this;
}