6d6bd3eb5a9d64a27cacb77e9b1989287138bfea
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 $TCA['tx_extensionmanager_domain_model_extension'] = array(
7 'ctrl' => array(
8 'title' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xml:tx_extensionmanager_domain_model_extension',
9 'label' => 'uid',
10 'default_sortby' => '',
11 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Extension.php',
12 'hideTable' => TRUE
13 ),
14 );
15
16 $TCA['tx_extensionmanager_domain_model_repository'] = array(
17 'ctrl' => array(
18 'title' => 'LLL:EXT:extensionmanager/Resources/Private/Language/locallang_db.xml:tx_extensionmanager_domain_model_repository',
19 'label' => 'uid',
20 'default_sortby' => '',
21 'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Repository.php',
22 'hideTable' => TRUE,
23 ),
24 );
25
26 if (TYPO3_MODE === 'BE') {
27 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
28 'TYPO3.CMS.' . $_EXTKEY,
29 'tools',
30 'extensionmanager', '', array(
31 'List' => 'index,ter,showAllVersions',
32 'Action' => 'toggleExtensionInstallationState,removeExtension,downloadExtensionZip,downloadExtensionData',
33 'Configuration' => 'showConfigurationForm,save',
34 'Download' => 'checkDependencies,installFromTer,updateExtension,updateCommentForUpdatableVersions',
35 'UpdateFromTer' => 'updateExtensionListFromTer',
36 'UploadExtensionFile' => 'form,extract'
37 ),
38 array(
39 'access' => 'user,group',
40 'icon' => 'EXT:' . $_EXTKEY . '/ext_icon.gif',
41 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xml',
42 )
43 );
44 }
45
46 ?>