TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
felogin/Configuration/TCA/Overrides/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  'wizards' => [
19  'suggest' => [
20  'type' => 'suggest'
21  ]
22  ]
23  ]
24  ]
25  ];
26 
28  \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_groups', 'felogin_redirectPid', '', 'after:TSconfig');
29 });
static addToAllTCAtypes($table, $newFieldsString, $typeList= '', $position= '')