[BUGFIX] Fix T3editor after PSR-7 change
[Packages/TYPO3.CMS.git] / typo3 / sysext / openid / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5
6 // Add field to setup module
7 $GLOBALS['TYPO3_USER_SETTINGS']['columns']['tx_openid_openid'] = array(
8 'type' => 'user',
9 'table' => 'be_users',
10 'label' => 'LLL:EXT:openid/locallang_db.xlf:_MOD_user_setup.tx_openid_openid',
11 'csh' => 'tx_openid_openid',
12 'userFunc' => \FoT3\Openid\OpenidModuleSetup::class . '->renderOpenID',
13 'access' => \FoT3\Openid\OpenidModuleSetup::class
14 );
15 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToUserSettings('tx_openid_openid', 'after:password2');
16 }