‪TYPO3CMS  10.4
TYPO3\CMS\Adminpanel\ModuleApi\InitializableInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\ModuleApi\InitializableInterface:
TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture

Public Member Functions

 initializeModule (ServerRequestInterface $request)
 

Detailed Description

Adminpanel interface to denote that a module has tasks to perform on initialization of the 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.

Initialize is called in the PSR-15 middleware stack through admin panel initialisation via the AdminPanel MainController.

See also
‪\TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator::process()
‪\TYPO3\CMS\Adminpanel\Controller\MainController::initialize()
Deprecated:
‪Use RequestEnricherInterface instead

Definition at line 35 of file InitializableInterface.php.

Member Function Documentation

◆ initializeModule()

TYPO3\CMS\Adminpanel\ModuleApi\InitializableInterface::initializeModule ( ServerRequestInterface  $request)

Initialize the module - runs early in a TYPO3 request

Parameters
ServerRequestInterface$request
Deprecated:

Implemented in TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture.