Deprecation: #88807 - AdminPanel InitializableInterface has been deprecated¶
See forge#88807
Description¶
\TYPO3\CMS\Adminpanel\ModuleApi\InitializableInterface
has been deprecated in favor of the newly
introduced \TYPO3\CMS\Adminpanel\ModuleApi\RequestEnricherInterface
.
Impact¶
Using \TYPO3\CMS\Adminpanel\ModuleApi\InitializableInterface
will trigger a deprecation message.
Affected Installations¶
All instances that use \TYPO3\CMS\Adminpanel\ModuleApi\InitializableInterface
are affected.
Migration¶
Switch to \TYPO3\CMS\Adminpanel\ModuleApi\RequestEnricherInterface
instead:
- change method name
initializeModule
toenrich
- change return value to return an instance of
\Psr\Http\Message\ServerRequestInterface