‪TYPO3CMS  10.4
fe_users.php
Go to the documentation of this file.
1 <?php
2 
3 defined('TYPO3_MODE') or die();
4 
5 ‪if (!isset(‪$GLOBALS['TCA']['fe_users']['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_users.tx_extbase_type',
14  'config' => [
15  'type' => 'select',
16  'renderType' => 'selectSingle',
17  'items' => [
18  ['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.0', '0'],
19  ['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUser', 'Tx_Extbase_Domain_Model_FrontendUser']
20  ],
21  'size' => 1,
22  'maxitems' => 1,
23  'default' => 0
24  ]
25  ]
26  ],
27  'types' => [
28  'Tx_Extbase_Domain_Model_FrontendUser' => ‪$GLOBALS['TCA']['fe_users']['types']['0'],
29  ],
30  ];
31  ‪$GLOBALS['TCA']['fe_users'] = array_replace_recursive(‪$GLOBALS['TCA']['fe_users'], ‪$tca);
33 } else {
34  ‪$GLOBALS['TCA']['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser'] = ‪$GLOBALS['TCA']['fe_users']['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