‪TYPO3CMS  10.4
fe_groups.php
Go to the documentation of this file.
1 <?php
2 
3 defined('TYPO3_MODE') or die();
4 
5 ‪if (!isset(‪$GLOBALS['TCA']['fe_groups']['ctrl']['type'])) {
6  ‪$tca = [
7  'ctrl' => [
8  'type' => 'tx_extbase_type',
9  ],
10  'columns' => [
11  'tx_extbase_type' => [
12  'exclude' => true,
13  'label' => 'LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_groups.tx_extbase_type',
14  'config' => [
15  'type' => 'select',
16  'renderType' => 'selectSingle',
17  'items' => [
18  ['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_groups.tx_extbase_type.0', '0'],
19  ['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_groups.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUserGroup', 'Tx_Extbase_Domain_Model_FrontendUserGroup']
20  ],
21  'size' => 1,
22  'maxitems' => 1,
23  'default' => 0
24  ]
25  ]
26  ],
27  'types' => [
28  'Tx_Extbase_Domain_Model_FrontendUserGroup' => ‪$GLOBALS['TCA']['fe_groups']['types']['0'],
29  ],
30  ];
31  ‪$GLOBALS['TCA']['fe_groups'] = array_replace_recursive(‪$GLOBALS['TCA']['fe_groups'], ‪$tca);
33 } else {
34  ‪$GLOBALS['TCA']['fe_groups']['types']['Tx_Extbase_Domain_Model_FrontendUserGroup'] = ‪$GLOBALS['TCA']['fe_groups']['types']['0'];
35 }
‪if
‪if(PHP_SAPI !=='cli')
Definition: splitAcceptanceTests.php:33
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addToAllTCAtypes
‪static addToAllTCAtypes($table, $newFieldsString, $typeList='', $position='')
Definition: ExtensionManagementUtility.php:209
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪$tca
‪$tca
Definition: sys_file_metadata.php:5