[TASK] Add PSR composer definition to all sysexts
[Packages/TYPO3.CMS.git] / typo3 / sysext / recycler / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 // Add module
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
7 'web_txrecyclerM1',
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/'
9 );
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
11 'web',
12 'txrecyclerM1',
13 '',
14 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/',
15 array(
16 'script' => '_DISPATCH',
17 'access' => 'user,group',
18 'name' => 'web_txrecyclerM1',
19 'labels' => array(
20 'tabs_images' => array(
21 'tab' => '../Resources/Public/Icons/module-recycler.png',
22 ),
23 'll_ref' => 'LLL:EXT:recycler/mod1/locallang_mod.xlf',
24 ),
25 )
26 );
27 }