BeforePageIsResolvedEvent
The PSR-14 event
\TYPO3\ 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\
creates early responses.
Tip
There are three events in the process around the resolving of a page and its root line or language based on the incoming request. They are triggered in the following order:
- BeforePageIsResolvedEvent
- AfterPageWithRootLineIsResolvedEvent
- AfterPageAndLanguageIsResolvedEvent
Example
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API
- class BeforePageIsResolvedEvent
-
- Fully qualified name
-
\TYPO3\
CMS\ Frontend\ Event\ Before Page Is Resolved Event
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.