[TASK] Use name-resolution instead of strings where possible: 13
[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::addModulePath(
6 'tools_txtaskcenterM1',
7 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'task/'
8 );
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
10 'user',
11 'task',
12 'top',
13 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'task/'
14 );
15
16 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
17 'Taskcenter::saveCollapseState',
18 \TYPO3\CMS\Taskcenter\TaskStatus::class . '->saveCollapseState'
19 );
20
21 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
22 'Taskcenter::saveSortingState',
23 \TYPO3\CMS\Taskcenter\TaskStatus::class . '->saveSortingState'
24 );
25 }