Skip to content
Snippets Groups Projects
Commit ea654865 authored by Bingquan Bao's avatar Bingquan Bao Committed by Lina Wolf
Browse files

[DOCS] Properly document modulename registration for EXT:adminpanel

The documentation contained a wrong registration code example,
which now uses the proper array depth level notation.

Releases: main, 12.4, 11.5
Resolves: #104105
Change-Id: Idb3c9b0e723af2f1bb579bc304637497e1272e36
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84709


Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarLina Wolf <112@linawolf.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarLina Wolf <112@linawolf.de>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
parent 5548e0f1
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment