AfterPageWithRootLineIsResolvedEvent
New in version 12.0
This PSR-14 event replaces the following hooks:
The PSR-14 event \TYPO3\
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.
Note
There are three events in the process when the main
Typo
class resolves a page and its root line
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 AfterPageWithRootLineIsResolvedEvent
-
- Fully qualified name
-
\TYPO3\
CMS\ Frontend\ Event\ After Page With Root Line Is Resolved Event
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.