‪TYPO3CMS  9.5
fe_users.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 call_user_func(function () {
5 
6  // Adds the redirect field and the forgotHash field to the fe_users-table
7  $additionalColumns = [
8  'felogin_redirectPid' => [
9  'exclude' => true,
10  'label' => 'LLL:EXT:felogin/Resources/Private/Language/Database.xlf:felogin_redirectPid',
11  'config' => [
12  'type' => 'group',
13  'internal_type' => 'db',
14  'allowed' => 'pages',
15  'size' => 1,
16  'minitems' => 0,
17  'maxitems' => 1,
18  ]
19  ],
20  'felogin_forgotHash' => [
21  'exclude' => true,
22  'label' => 'LLL:EXT:felogin/Resources/Private/Language/Database.xlf:felogin_forgotHash',
23  'config' => [
24  'type' => 'passthrough'
25  ]
26  ]
27  ];
28 
30  ‪\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'felogin_redirectPid', '', 'after:TSconfig');
31 });
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addToAllTCAtypes
‪static addToAllTCAtypes($table, $newFieldsString, $typeList='', $position='')
Definition: ExtensionManagementUtility.php:281
‪TYPO3\CMS\Core\Utility\ExtensionManagementUtility\addTCAcolumns
‪static addTCAcolumns($table, $columnArray)
Definition: ExtensionManagementUtility.php:260