‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Event\BeforePageIsResolvedEvent Class Reference

Public Member Functions

 __construct (private readonly ServerRequestInterface $request, private PageInformation $pageInformation,)
 
 getRequest ()
 
 getPageInformation ()
 
 setPageInformation (PageInformation $pageInformation)
 

Detailed Description

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.

Definition at line 30 of file BeforePageIsResolvedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Event\BeforePageIsResolvedEvent::__construct ( private readonly ServerRequestInterface  $request,
private PageInformation  $pageInformation 
)

Definition at line 32 of file BeforePageIsResolvedEvent.php.

Member Function Documentation

◆ getPageInformation()

TYPO3\CMS\Frontend\Event\BeforePageIsResolvedEvent::getPageInformation ( )

Definition at line 42 of file BeforePageIsResolvedEvent.php.

◆ getRequest()

TYPO3\CMS\Frontend\Event\BeforePageIsResolvedEvent::getRequest ( )

Definition at line 37 of file BeforePageIsResolvedEvent.php.

◆ setPageInformation()

TYPO3\CMS\Frontend\Event\BeforePageIsResolvedEvent::setPageInformation ( PageInformation  $pageInformation)

Definition at line 47 of file BeforePageIsResolvedEvent.php.