Feature: #97737 - New PSR-14 events when Page + Rootline in Frontend is resolved
See forge#97737
Description
Three new PSR-14 events have been added in the process when the main class
Typo
is resolving a page and its rootline,
based on the incoming request.
Before
Page Is Resolved Event After
Page With Root Line Is Resolved Event After
Page And Language Is Resolved Event
All events receive the incoming PSR-7 Request object, and the
Typo
object.
In addition, the latter two events allow event listeners to define a custom PSR-7 Response for custom permission layers, and interrupting further processing of a page.
These events serve as a replacement for the previously available hooks:
$GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['determine Id- Pre Processing'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['fetch Page Id- Post Processing'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['setting Language_ pre Process'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['determine Id- Post Proc'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['setting Language_ post Process']
Impact
Please note that TypoScript hasn't been resolved at the time of firing the events, as this is done in the next step of the Frontend request.