TypoScriptFrontendInitialization implements MiddlewareInterface
FinalYes
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 later.
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- __construct() : mixed
- process() : ResponseInterface
- Creates an instance of TSFE and sets it as a global variable.
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