-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_tables.php
More file actions
102 lines (94 loc) · 3.77 KB
/
ext_tables.php
File metadata and controls
102 lines (94 loc) · 3.77 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
defined('TYPO3') || die('Access denied.');
use SkillDisplay\Skills\Controller\BackendAwardsManagerController;
use SkillDisplay\Skills\Controller\BackendController;
use SkillDisplay\Skills\Controller\BackendVerificationManagerController;
use SkillDisplay\Skills\Controller\BackendVerifierController;
use SkillDisplay\Skills\Controller\BackendVseController;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
ExtensionManagementUtility::addModule('skilldisplay', '', 'after:web', null, [
'icon' => 'EXT:skills/Resources/Public/Images/SkillDisplay_Logo_whitebg.svg',
'labels' => 'LLL:EXT:skills/Resources/Private/Language/locallang_be_mainmodule.xlf',
]);
ExtensionUtility::registerModule(
'Skills',
'skilldisplay', // Make module a submodule of 'web'
'vse', // Submodule key
'', // Position
[
BackendVseController::class => 'skillTree',
BackendController::class => 'syllabusForSet, completeDownloadForSet',
],
[
'access' => 'user,group',
'icon' => 'EXT:skills/Resources/Public/Images/SkillDisplay_Logo_whitebg.svg',
'labels' => 'LLL:EXT:skills/Resources/Private/Language/locallang_be_vse.xlf',
'navigationComponentId' => '',
'inheritNavigationComponentFromMainModule' => false,
]
);
ExtensionUtility::registerModule(
'Skills',
'skilldisplay', // Make module a submodule of 'web'
'verifier', // Submodule key
'', // Position
[
BackendVerifierController::class => 'verifierPermissions,modifyPermissions,addVerifier',
],
[
'access' => 'user,group',
'icon' => 'EXT:skills/Resources/Public/Images/SkillDisplay_Logo_whitebg.svg',
'labels' => 'LLL:EXT:skills/Resources/Private/Language/locallang_be_verifier.xlf',
'navigationComponentId' => '',
'inheritNavigationComponentFromMainModule' => false,
]
);
ExtensionUtility::registerModule(
'Skills',
'skilldisplay', // Make module a submodule of 'web'
'verificationmanager', // Submodule key
'', // Position
[
BackendVerificationManagerController::class => 'creditOverview, creditHistory, verificationManager, generateCSV',
],
[
'access' => 'user,group',
'icon' => 'EXT:skills/Resources/Public/Images/SkillDisplay_Logo_whitebg.svg',
'labels' => 'LLL:EXT:skills/Resources/Private/Language/locallang_be_verificationmanager.xlf',
'navigationComponentId' => '',
'inheritNavigationComponentFromMainModule' => false,
]
);
ExtensionUtility::registerModule(
'Skills',
'skilldisplay', // Make module a submodule of 'web'
'skills', // Submodule key
'', // Position
[
BackendController::class => 'skillUpSplitting,moveCertifications,syllabus,syllabusForSet,completeDownload,reporting,generateReport,completeDownloadForSet',
],
[
'access' => 'user,group',
'icon' => 'EXT:skills/Resources/Public/Images/SkillDisplay_Logo_whitebg.svg',
'labels' => 'LLL:EXT:skills/Resources/Private/Language/locallang_be.xlf',
'navigationComponentId' => '',
'inheritNavigationComponentFromMainModule' => false,
]
);
ExtensionUtility::registerModule(
'Skills',
'skilldisplay', // Make module a submodule of 'web'
'awardsmanager', // Submodule key
'', // Position
[
BackendAwardsManagerController::class => 'awardsManager,skillSetAwards,toggleAwardActivation,createNewAward',
],
[
'access' => 'user,group',
'icon' => 'EXT:skills/Resources/Public/Images/SkillDisplay_Logo_whitebg.svg',
'labels' => 'LLL:EXT:skills/Resources/Private/Language/locallang_be_awardsmanager.xlf',
'navigationComponentId' => '',
'inheritNavigationComponentFromMainModule' => false,
]
);