9fa19841cef9d6b2f6878e60a4e80bfd0d86c27b
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / 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::addModule(
7 'system',
8 'txschedulerM1',
9 '',
10 '',
11 array(
12 'routeTarget' => \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController::class . '::mainAction',
13 'access' => 'admin',
14 'name' => 'system_txschedulerM1',
15 'icon' => 'EXT:scheduler/Resources/Public/Icons/module-scheduler.svg',
16 'labels' => array(
17 'll_ref' => 'LLL:EXT:scheduler/Resources/Private/Language/locallang_mod.xlf',
18 ),
19 )
20 );
21
22 // Add context sensitive help (csh) to the backend module
23 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
24 '_MOD_system_txschedulerM1',
25 'EXT:scheduler/Resources/Private/Language/locallang_csh_scheduler.xlf'
26 );
27 }