forked from in2code-de/femanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_localconf.php
More file actions
29 lines (26 loc) · 1.27 KB
/
ext_localconf.php
File metadata and controls
29 lines (26 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
call_user_func(function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'In2code.femanager',
'Pi1',
[
'User' => 'list, show, validate, loginAs, imageDelete',
'New' => 'new, create, confirmCreateRequest, createStatus, resendConfirmationMail, resendConfirmationDialogue',
'Edit' => 'edit, update, delete, confirmUpdateRequest',
'Invitation' => 'new, create, edit, update, delete, status',
'Data' => 'getStatesForCountry'
],
[
'User' => 'list, show, validate, loginAs, imageDelete',
'New' => 'new, create, confirmCreateRequest, createStatus, resendConfirmationMail, resendConfirmationDialogue',
'Edit' => 'edit, update, delete, confirmUpdateRequest',
'Invitation' => 'new, create, edit, update, delete',
'Data' => 'getStatesForCountry'
]
);
$container = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\Container\Container::class);
// $container->registerImplementation(\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper::class, \In2code\Femanager\Persistence\Generic\Mapper\DataMap::class);
});