-
Notifications
You must be signed in to change notification settings - Fork 5
/
ext_tables.php
42 lines (38 loc) · 1.39 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
<?php
/*
* This file is part of the package t3g/hubspot.
*
* For the full copyright and license information, please read the
* LICENSE file that was distributed with this source code.
*/
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
call_user_func(
function () {
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'T3G.hubspot',
'hubspotForm',
'Hubspot Form'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'T3G.Hubspot',
'tools',
'hubspot',
'top',
[
\T3G\Hubspot\Controller\Backend\OverviewController::class => 'index',
\T3G\Hubspot\Controller\Backend\FormController::class => 'index, editInline',
\T3G\Hubspot\Controller\Backend\CtaController::class => 'index',
\T3G\Hubspot\Controller\Backend\SchemaController::class => 'index, inspect, refresh, new, create, download, delete'
],
[
'access' => 'admin',
'icon' => 'EXT:hubspot/Resources/Public/Icons/module-hubspot.svg',
'labels' => 'LLL:EXT:hubspot/Resources/Private/Language/locallang_mod.xlf'
]
);
}
}
);