BeforePageIsResolvedEvent 

The PSR-14 event \TYPO3\CMS\Frontend\Event\BeforePageIsResolvedEvent is fired before the frontend process is trying to fully resolve a given page by its page ID and the request.

The events may not be dispatched anymore when the middleware \TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization creates early responses.

Example 

API 

class BeforePageIsResolvedEvent
Fully qualified name
\TYPO3\CMS\Frontend\Event\BeforePageIsResolvedEvent

A PSR-14 event fired before the frontend process is trying to fully resolve a given page by its page ID and the request.

Event Listeners can modify incoming parameters (such as $controller->id) or modify the context for resolving a page.

getRequest ( )
Returns
PsrHttpMessageServerRequestInterface
getPageInformation ( )
Returns
TYPO3CMSFrontendPagePageInformation
setPageInformation ( \TYPO3\CMS\Frontend\Page\PageInformation $pageInformation)
param $pageInformation

the pageInformation