-
Notifications
You must be signed in to change notification settings - Fork 31
/
ext_localconf.php
35 lines (29 loc) · 1.14 KB
/
ext_localconf.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
defined('TYPO3') or die();
(function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'go_maps_ext',
'Show',
[
\Clickstorm\GoMapsExt\Controller\MapController::class => 'show, preview'
],
// non-cacheable actions
[]
);
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_gomapsext_domain_model_map'][0] = [
'fList' => 'title,default_type',
'icon' => true
];
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['tx_gomapsext_domain_model_address'][0] = [
'fList' => 'title, info_window_content',
'icon' => true
];
// here we register "tx_gomapsext_double6"
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals'][\Clickstorm\GoMapsExt\Evaluation\Double6Evaluator::class] = '';
// add costum backend form elements
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1580467607] = [
'nodeName' => 'GomapsextMapElement',
'priority' => 40,
'class' => \Clickstorm\GoMapsExt\Form\Element\GomapsextMapElement::class
];
})();