forked from nxpthx/typo3-upgradereport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
executable file
·60 lines (54 loc) · 1.8 KB
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
// avoid that this block is loaded in the frontend or within the upgrade-wizards
if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
/**
* Registers a Backend Module
*/
Tx_Extbase_Utility_Extension::registerModule(
$_EXTKEY,
'tools',
$_EXTKEY,
'after:reports',
array(
// An array holding the controller-action-combinations that are accessible
'Report' => 'index,reportOverview,show,download',
'Ajax' => 'runTest,getResults,clearTestResults'
),
array(
'access' => 'user,group',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Images/ModuleIcon.png',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml'
)
);
}
$TCA['tx_smoothmigration_domain_model_issue'] = array(
'ctrl' => array(
'title' => 'recognized upgrade issues',
'label' => 'check',
'enablecolumns' => array(
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_smoothmigration_domain_model_issue.php'
)
);
// allow test results on normal pages
t3lib_extMgm::allowTableOnStandardPages('tx_smoothmigration_domain_model_issue');
$TCA['tx_smoothmigration_domain_model_deprecation'] = array(
'ctrl' => array(
'title' => 'Deprecated methods',
'label' => 'check',
'enablecolumns' => array(
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/tx_smoothmigration_domain_model_deprecation.php'
)
);
// allow test results on normal pages
t3lib_extMgm::allowTableOnStandardPages('tx_smoothmigration_domain_model_deprecation');
// Add Icons
$icons = array(
// 'sendtonextstage' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtonextstage.png',
);
//t3lib_SpriteManager::addSingleIcons($icons, $_EXTKEY);
?>