27 lines
678 B
PHP
27 lines
678 B
PHP
<?php
|
|
|
|
/**
|
|
* Table configuration fe_users
|
|
*/
|
|
use MMK2410\FeIpLogin\Domain\Repository\FeGroupsRepository;
|
|
|
|
$columns = [
|
|
'ip_mask' => [
|
|
'exclude' => 0,
|
|
'label' => 'LLL:EXT:feiplogin/Resources/Private/Language/locallang_db.xlf:' .
|
|
FeGroupsRepository::TABLE_NAME . '.ip_mask',
|
|
'config' => [
|
|
'type' => 'text',
|
|
'cols' => '40',
|
|
'rows' => '2'
|
|
]
|
|
],
|
|
];
|
|
|
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(FeGroupsRepository::TABLE_NAME, $columns);
|
|
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
|
FeGroupsRepository::TABLE_NAME,
|
|
'ip_mask',
|
|
'',
|
|
''
|
|
);
|