AfterPageWithRootLineIsResolvedEvent 

The PSR-14 event \TYPO3\CMS\Frontend\Event\AfterPageWithRootLineIsResolvedEvent fires in the frontend process after a given page has been resolved with permissions, root line, etc.

This is useful for modifying the page and root (but before resolving the language), to direct or load content from another page, or for modifying the page response if additional permissions should be checked.

Example 

API 

final class AfterPageWithRootLineIsResolvedEvent
Fully qualified name
\TYPO3\CMS\Frontend\Event\AfterPageWithRootLineIsResolvedEvent

A PSR-14 event fired in the frontend process after a given page has been resolved with permissions, rootline etc.

This is useful to modify the page + rootline (but before the language is resolved) to direct or load content from a different page, or modify the page response if additional permissions should be checked.

getRequest()
Returns
\Psr\Http\Message\ServerRequestInterface
setResponse(\Psr\Http\Message\ResponseInterface $response)
param $response

the response

getResponse()
Returns
?\Psr\Http\Message\ResponseInterface
getPageInformation()
Returns
\TYPO3\CMS\Frontend\Page\PageInformation
setPageInformation(\TYPO3\CMS\Frontend\Page\PageInformation $pageInformation)
param $pageInformation

the pageInformation