Life without $GLOBALS[‘TSFE’] in TYPO3 v13 and v14
TYPO3 v14 removed $GLOBALS[‘TSFE’]. Here is how page id, language, TypoScript and routing data come from PSR-7 request attributes in controllers, middlewares and ViewHelpers.
TYPO3 v14 removed $GLOBALS[‘TSFE’]. Here is how page id, language, TypoScript and routing data come from PSR-7 request attributes in controllers, middlewares and ViewHelpers.
Setting up typo3/testing-framework for a v13/v14 extension: a FunctionalTestCase, CSV fixtures, a custom repository query and a database assertion, run inside DDEV.