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