AdminPanelInitiator implements MiddlewareInterface
Read onlyYes
PSR-15 Middleware to initialize the admin panel
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- __construct() : mixed
- process() : ResponseInterface
- Initialize the adminPanel if - backend user is logged in - at least one adminpanel functionality is enabled - admin panel is open
Methods
__construct()
public
__construct(ModuleLoader $moduleLoader) : mixed
Parameters
- $moduleLoader : ModuleLoader
process()
Initialize the adminPanel if - backend user is logged in - at least one adminpanel functionality is enabled - admin panel is open
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface