forked from UB-Mannheim/uma_publist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.php
34 lines (28 loc) · 818 Bytes
/
ext_tables.php
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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
if (TYPO3_MODE === 'BE') {
/**
* Registers a Backend Module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Unima.publist4ubma2',
'tools', // Make module a submodule of 'Admin tools'
'publist4ubma_m1', // Submodule key
'', // Position
array(
/** only the first matching Controller is run
* And then we are in the Controller!
*/
'Administration' => 'listChairs,syncChairs,showCleanup,listPublists,listPublications',
'Institute' => 'list,add,delete',
'Chair' => 'list,add,delete',
),
array(
'access' => 'user,group',
'icon' => 'EXT:' . $_EXTKEY . '/Resources/Public/Icons/ext_icon.gif',
'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_be.xlf',
)
);
}