TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
felogin
Configuration
TCA
Overrides
felogin/Configuration/TCA/Overrides/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'
=> 1,
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
'felogin_forgotHash'
=> [
26
'exclude'
=> 1,
27
'label'
=>
'LLL:EXT:felogin/Resources/Private/Language/Database.xlf:felogin_forgotHash'
,
28
'config'
=> [
29
'type'
=>
'passthrough'
30
]
31
]
32
];
33
34
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'fe_users'
, $additionalColumns);
35
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'fe_users'
,
'felogin_redirectPid'
,
''
,
'after:TSconfig'
);
36
});
Generated on Wed Nov 11 2015 01:51:55 for TYPO3 by
1.8.3