[FEATURE] Trigger execution of a specific task from CLI
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_action / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE == 'BE') {
7 $TCA['sys_action'] = array(
8 'ctrl' => array(
9 'label' => 'title',
10 'tstamp' => 'tstamp',
11 'default_sortby' => 'ORDER BY title',
12 'sortby' => 'sorting',
13 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
14 'title' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action',
15 'crdate' => 'crdate',
16 'cruser_id' => 'cruser_id',
17 'adminOnly' => 1,
18 'rootLevel' => -1,
19 'setToDefaultOnCopy' => 'assign_to_groups',
20 'enablecolumns' => array(
21 'disabled' => 'hidden'
22 ),
23 'typeicon_classes' => array(
24 'default' => 'mimetypes-x-sys_action',
25 ),
26 'type' => 'type',
27 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'x-sys_action.png',
28 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php'
29 )
30 );
31
32 $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm::extPath('sys_action') . 'toolbarmenu/registerToolbarItem.php';
33
34 t3lib_extMgm::addLLrefForTCAdescr('sys_action', 'EXT:sys_action/locallang_csh_sysaction.xml');
35
36 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tx_sysaction_task'] = array(
37 'title' => 'LLL:EXT:sys_action/locallang_tca.xml:sys_action',
38 'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xml:.description',
39 'icon' => 'EXT:sys_action/x-sys_action.png',
40 );
41 }
42 ?>