TypoScriptFrontendInitialization implements MiddlewareInterface
Read onlyYes
FinalYes
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.
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- __construct() : mixed
- process() : ResponseInterface
Methods
__construct()
public
__construct(Context $context, TimeTracker $timeTracker, PageInformationFactory $pageInformationFactory, LoggerInterface $logger, ErrorController $errorController) : mixed
Parameters
- $context : Context
- $timeTracker : TimeTracker
- $pageInformationFactory : PageInformationFactory
- $logger : LoggerInterface
- $errorController : ErrorController
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface