diff --git a/typo3/sysext/adminpanel/Documentation/Extending/Index.rst b/typo3/sysext/adminpanel/Documentation/Extending/Index.rst index 2055893c8767e580c9be6d23866ccfc7841795fa..02976d9918b785c2a0ac42bca25aa5c43d7327a1 100644 --- a/typo3/sysext/adminpanel/Documentation/Extending/Index.rst +++ b/typo3/sysext/adminpanel/Documentation/Extending/Index.rst @@ -44,10 +44,8 @@ To create your own Admin Panel module .. code-block:: php $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']['mynamespace_modulename'] = [ - 'module' => [ - \Your\Namespace\Adminpanel\Modules\YourModule::class, - 'before' => ['cache'], - ] + 'module' => \Your\Namespace\Adminpanel\Modules\YourModule::class, + 'before' => ['cache'], ]; Using `before` or `after` you can influence where your module will be