[TASK] Create extension in2frontendauthentication
Finishing extension
This commit is contained in:
parent
735530d787
commit
6c9511d3d5
6 changed files with 176 additions and 16 deletions
27
Configuration/TCA/Overrides/fe_groups.php
Normal file
27
Configuration/TCA/Overrides/fe_groups.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Table configuration fe_users
|
||||
*/
|
||||
use In2code\In2frontendauthentication\Domain\Repository\FeGroupsRepository;
|
||||
|
||||
$columns = [
|
||||
'ip_mask' => [
|
||||
'exclude' => 0,
|
||||
'label' => 'LLL:EXT:in2frontendauthentication/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',
|
||||
'',
|
||||
''
|
||||
);
|
Reference in a new issue