[TYPO3-dev] TYPO3 BE extensions: sub and main modules and registerModule()

Michael Schams typo3.lists at 2014.trash.schams.net
Tue Jul 22 14:00:25 CEST 2014


Oooh! I made a mistake in my previous message. Method registerModule() 
used in "extension_one" and "extension_two" contains array('Controller' 
=> 'Action') of course - so for the sake of completeness, it should read:

> EXT:extension_one and EXT:extension_two
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
>    'SchamsNet.' . $_EXTKEY,
>    'main_module',
>    'extension_one',
>    NULL,
>    array('Controller' => 'Action'),
>    array(
>      'access' => 'user,group',
>      'labels' => 'Extension One'
>    )
> );


Cheers
Michael



More information about the TYPO3-dev mailing list