TypoScriptFrontendInitialization implements MiddlewareInterface
Creates an instance of TypoScriptFrontendController and makes this globally available via $GLOBALS['TSFE'].
In addition, determineId builds up the rootline based on a valid frontend-user authentication and Backend permissions if previewing.
this middleware might get removed in TYPO3 v11.0.
Table of Contents
Interfaces
- MiddlewareInterface
Properties
Methods
- __construct() : mixed
- process() : ResponseInterface
- Creates an instance of TSFE and sets it as a global variable.
Properties
$context
protected
Context
$context
Methods
__construct()
public
__construct(Context $context) : mixed
Parameters
- $context : Context
process()
Creates an instance of TSFE and sets it as a global variable.
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface