AfterPageAndLanguageIsResolvedEvent
FinalYes
A PSR-14 event fired in the frontend process after a given page has been resolved including its language.
This event is intended to e.g. modify TYPO3's language resolving logic by custom additions. This event also allows to send a custom Response via Event Listeners (e.g. a custom 403 response)
Table of Contents
Methods
- __construct() : mixed
- getPageInformation() : PageInformation
- getRequest() : ServerRequestInterface
- getResponse() : ResponseInterface|null
- setPageInformation() : void
- setResponse() : void
Methods
__construct()
public
__construct(ServerRequestInterface $request, PageInformation $pageInformation) : mixed
Parameters
- $request : ServerRequestInterface
- $pageInformation : PageInformation
getPageInformation()
public
getPageInformation() : PageInformation
Return values
PageInformationgetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetResponse()
public
getResponse() : ResponseInterface|null
Return values
ResponseInterface|nullsetPageInformation()
public
setPageInformation(PageInformation $pageInformation) : void
Parameters
- $pageInformation : PageInformation
setResponse()
public
setResponse(ResponseInterface $response) : void
Parameters
- $response : ResponseInterface