Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Mitigate removed
TSFE->getContext()
method in `RenderTransla…
…tedFlagInFrontendPreviewMode` TYPO3 removed quite some method of `TSFE` internal or removed them, one of them `getContext()` can be mitigated easily. This change retrieves the context either from TSFE or uses the `GeneralUtility::makeInstance()` to retrieve it within the `RenderTranslatedFlagInFrontendPreviewMode` PSR-14 event listener.
- Loading branch information