forked from slub/slub_events
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
executable file
·60 lines (52 loc) · 2.32 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
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
<?php
defined('TYPO3_MODE') || die();
/***************************************************************
* Backend module
*/
if (TYPO3_MODE === 'BE') {
/**
* Registers a Backend Module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'Slub.SlubEvents',
'web', // Make module a submodule of 'web'
'slubevents', // Submodule key
'', // Position
[
\Slub\SlubEvents\Controller\Backend\EventController::class => 'beList, beCopy, beIcsInvitation',
\Slub\SlubEvents\Controller\Backend\SubscriberController::class => 'beList, beOnlineSurvey, beWriteNotification, beSendNotification',
],
[
'access' => 'user,group',
'icon' => 'EXT:slub_events/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:slub_events/Resources/Private/Language/locallang_slubevents.xlf',
]
);
}
/***************************************************************
* TCA
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_slubevents_domain_model_event',
'EXT:slub_events/Resources/Private/Language/locallang_csh_tx_slubevents_domain_model_event.xlf'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_slubevents_domain_model_category',
'EXT:slub_events/Resources/Private/Language/locallang_csh_tx_slubevents_domain_model_category.xlf'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_slubevents_domain_model_subscriber',
'EXT:slub_events/Resources/Private/Language/locallang_csh_tx_slubevents_domain_model_subscriber.xlf'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_slubevents_domain_model_location',
'EXT:slub_events/Resources/Private/Language/locallang_csh_tx_slubevents_domain_model_location.xlf'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_slubevents_domain_model_discipline',
'EXT:slub_events/Resources/Private/Language/locallang_csh_tx_slubevents_domain_model_discipline.xlf'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
'tx_slubevents_domain_model_contact',
'EXT:slub_events/Resources/Private/Language/locallang_csh_tx_slubevents_domain_model_contact.xlf'
);