‪TYPO3CMS  9.5
fe_users.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 if (!isset(‪$GLOBALS['TCA']['fe_users']['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_users.tx_extbase_type',
13  'config' => [
14  'type' => 'select',
15  'renderType' => 'selectSingle',
16  'items' => [
17  ['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.0', '0'],
18  ['LLL:EXT:extbase/Resources/Private/Language/locallang_db.xlf:fe_users.tx_extbase_type.Tx_Extbase_Domain_Model_FrontendUser', 'Tx_Extbase_Domain_Model_FrontendUser']
19  ],
20  'size' => 1,
21  'maxitems' => 1,
22  'default' => 0
23  ]
24  ]
25  ],
26  'types' => [
27  'Tx_Extbase_Domain_Model_FrontendUser' => ‪$GLOBALS['TCA']['fe_users']['types']['0'],
28  ],
29  ];
30  ‪$GLOBALS['TCA']['fe_users'] = array_replace_recursive(‪$GLOBALS['TCA']['fe_users'], ‪$tca);
32 } else {
33  ‪$GLOBALS['TCA']['fe_users']['types']['Tx_Extbase_Domain_Model_FrontendUser'] = ‪$GLOBALS['TCA']['fe_users']['types']['0'];
34 }
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addToAllTCAtypes
‪static addToAllTCAtypes($table, $newFieldsString, $typeList='', $position='')
Definition: ExtensionManagementUtility.php:281
‪$tca
‪$tca
Definition: sys_file_metadata.php:4
‪$GLOBALS
‪$GLOBALS['TCA']['fe_users']['columns']['password']['config']['renderType']
Definition: fe_users.php:4