TypoScriptFrontendInitialization

final class \TYPO3\CMS\Frontend\Middleware\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.

Table of Contents

Interfaces

MiddlewareInterface

Methods

__construct()  : mixed
process()  : ResponseInterface
Creates an instance of TSFE and sets it as a global variable.

Methods

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

Return values

ResponseInterface
On this page