‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization:

Public Member Functions

 __construct (private Context $context, private TimeTracker $timeTracker, private PageInformationFactory $pageInformationFactory, private LoggerInterface $logger, private ErrorController $errorController,)
 
 process (ServerRequestInterface $request, RequestHandlerInterface $handler)
 

Detailed Description

Create and fill PageInformation object and attach as 'frontend.page.information' Request attribute.

This middleware does all main access checks to the target page, resolves shortcut pages and languages and workspace overlays. When all goes well, it dispatches to other middleware below. In case of failed access checks or other errors, it returns an early response before dispatching to main page rendering below.

Definition at line 49 of file TypoScriptFrontendInitialization.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization::__construct ( private Context  $context,
private TimeTracker  $timeTracker,
private PageInformationFactory  $pageInformationFactory,
private LoggerInterface  $logger,
private ErrorController  $errorController 
)

Definition at line 51 of file TypoScriptFrontendInitialization.php.

Member Function Documentation

◆ process()

TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization::process ( ServerRequestInterface  $request,
RequestHandlerInterface  $handler 
)