‪TYPO3CMS  9.5
fe_groups.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 to the fe_groups 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  ];
21 
23  ‪\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_groups', 'felogin_redirectPid', '', 'after:TSconfig');
24 });
‪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