[FEATURE] Allow PSR-7 dispatching for Backend modules
[Packages/TYPO3.CMS.git] / typo3 / sysext / taskcenter / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
6 'user',
7 'task',
8 'top',
9 '',
10 array(
11 'routeTarget' => \TYPO3\CMS\Taskcenter\Controller\TaskModuleController::class . '::mainAction',
12 'access' => 'group,user',
13 'name' => 'user_task',
14 'labels' => array(
15 'tabs_images' => array(
16 'tab' => 'EXT:taskcenter/Resources/Public/Icons/module-taskcenter.svg',
17 ),
18 'll_ref' => 'LLL:EXT:taskcenter/Resources/Private/Language/locallang_mod.xlf',
19 ),
20 )
21 );
22
23 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
24 'Taskcenter::saveCollapseState',
25 \TYPO3\CMS\Taskcenter\TaskStatus::class . '->saveCollapseState'
26 );
27
28 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
29 'Taskcenter::saveSortingState',
30 \TYPO3\CMS\Taskcenter\TaskStatus::class . '->saveSortingState'
31 );
32 }