first commit
This commit is contained in:
commit
e81864e683
2984 files changed
+267797
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
if (!defined('TYPO3')) {
|
||||
die('Access denied.');
|
||||
}
|
||||
|
||||
call_user_func(function () {
|
||||
/**
|
||||
* Include Backend Module
|
||||
*/
|
||||
if (!\In2code\Femanager\Utility\ConfigurationUtility::isDisableModuleActive() &&
|
||||
!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
|
||||
'Femanager',
|
||||
'web',
|
||||
'm1',
|
||||
'',
|
||||
[
|
||||
\In2code\Femanager\Controller\UserBackendController::class => 'list,confirmation,userLogout,confirmUser,refuseUser,listOpenUserConfirmations,resendUserConfirmationRequest'
|
||||
],
|
||||
[
|
||||
'access' => 'user,group',
|
||||
'icon' => 'EXT:femanager/Resources/Public/Icons/Extension.svg',
|
||||
'labels' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_mod.xlf',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add user TSConfig
|
||||
*/
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(
|
||||
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:femanager/Configuration/UserTsConfig/BackendModule.typoscript">'
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user