https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/Mod.html
There are only very simple examples on this page which use mod.web_info
etc. If you created your own be modules in an extension, it is not so intuitive, what is to be used here.
How is this key constructed, e.g.
MAINMODULEKEY UNDERLINE SUBMODULEKEY
), e.g. 'web_info', 'web_layout', 'site_configuration', 'system.config'
- MAINMODULEKEY UNDERLINE EXTKEY_IN_CAMEL_CASE SUBMODULEKEY_STARTING_WITH_CAPITAL_LETTER e.g. 'web_FormFormbuilder', is created by using:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.Form',
'web',
'formbuilder',
So in this example, the lowercase 'formbuilder' is converted to CamelCase 'Formbuilder' and the extension key is also converted to CamelCase and directly prepended before the submodule key.
It's weird that in the examples 1️⃣ after the underline, it is all-lowercase, while in 2️⃣, it is CamelCase, this makes it not so intuitive.
I would assume, that the modules for the first case are created with addModule()
, while the ones for the second are created with registerModule()
(Extbase)
Possibly link to "Naming conventions" and add the information there.