RequestEnricherInterface
Adminpanel interface to denote that a module has tasks to perform on initialization of the request and may enrich said request
Modules that need to set data / options early in the rendering process to be able to collect data, should implement this interface - for example the log module uses the initialization to register the admin panel log collection early in the rendering process.
Modules that manipulate the request based on their configuration should also implement this interface.
Initialize is called in the PSR-15 middleware stack through admin panel initialisation via the AdminPanel MainController.
Tags
Table of Contents
Methods
- enrich() : ServerRequestInterface
- Initialize the module - runs in the TYPO3 middleware stack at an early point may manipulate the current request
Methods
enrich()
Initialize the module - runs in the TYPO3 middleware stack at an early point may manipulate the current request
public
enrich(ServerRequestInterface $request) : ServerRequestInterface
Parameters
- $request : ServerRequestInterface