This repository has been archived on 2021-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
2016-06-10 15:44:06 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Table configuration fe_users
|
|
|
|
*/
|
2021-03-29 19:13:31 +02:00
|
|
|
use MMK2410\FeIpLogin\Domain\Repository\FeGroupsRepository;
|
2016-06-10 15:44:06 +02:00
|
|
|
|
|
|
|
$columns = [
|
|
|
|
'ip_mask' => [
|
|
|
|
'exclude' => 0,
|
2021-03-29 19:13:31 +02:00
|
|
|
'label' => 'LLL:EXT:feiplogin/Resources/Private/Language/locallang_db.xlf:' .
|
2021-03-29 16:15:29 +02:00
|
|
|
FeGroupsRepository::TABLE_NAME . '.ip_mask',
|
2016-06-10 15:44:06 +02:00
|
|
|
'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',
|
|
|
|
'',
|
|
|
|
''
|
|
|
|
);
|