forked from in2code-de/publications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
35 lines (31 loc) · 1.04 KB
/
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
33
34
35
<?php
declare(strict_types=1);
defined('TYPO3') or die();
call_user_func(
function () {
/**
* Backend Module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'publications',
'web',
'import',
'',
[
In2code\Publications\Controller\ImportController::class => 'overview, import'
],
[
'access' => 'user,group',
'icon' => 'EXT:publications/Resources/Public/Icons/ModuleImport.svg',
'labels' => 'LLL:EXT:publications/Resources/Private/Language/locallang_mod_import.xlf',
]
);
/**
* Register default importer
*/
$GLOBALS['TYPO3_CONF_VARS']['EXT']['publications']['importer']['BIB'] =
\In2code\Publications\Import\Importer\BibImporter::class;
$GLOBALS['TYPO3_CONF_VARS']['EXT']['publications']['importer']['XML'] =
\In2code\Publications\Import\Importer\XmlImporter::class;
}
);