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