-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathext_localconf.php
More file actions
40 lines (32 loc) · 1.06 KB
/
ext_localconf.php
File metadata and controls
40 lines (32 loc) · 1.06 KB
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
<?php
defined('TYPO3') or die();
call_user_func(
function()
{
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Myleaflet',
'Ajaxmap',
[
\WSR\Myleaflet\Controller\AddressController::class => 'ajaxSearch'
],
// non-cacheable actions
[
\WSR\Myleaflet\Controller\AddressController::class => 'ajaxSearch'
]
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Myleaflet',
'SingleView',
[
\WSR\Myleaflet\Controller\AddressController::class => 'show'
],
// non-cacheable actions
[
\WSR\Myleaflet\Controller\AddressController::class => 'show'
]
);
}
);
// for use with extension extender
//$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_address']['extender'][\FriendsOfTYPO3\TtAddress\Domain\Model\Address::class]['ext_ttaddress']
// = 'EXT:myleaflet/Classes/Domain/Model/Address.php';