[TASK] Streamline addModulePath and addModule registrations
[Packages/TYPO3.CMS.git] / typo3 / sysext / compatibility6 / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
6 'web_func',
7 \TYPO3\CMS\Compatibility6\Controller\WebFunctionWizardsBaseController::class,
8 NULL,
9 'LLL:EXT:compatibility6/Resources/Private/Language/wizards.xlf:mod_wizards'
10 );
11 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:compatibility6/Resources/Private/Language/wizards_csh.xlf');
12
13
14 // Register forms wizard
15 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
16 'wizard_forms',
17 'EXT:compatibility6/Modules/Wizards/FormsWizard/'
18 );
19 }