forked from drc-systems/product_advertisement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
executable file
·24 lines (19 loc) · 1.03 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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Drcsystems.' . $_EXTKEY,
'Products',
array(
'Products' => 'list, show, new, search, searchMeFirst, quickSearch, hide, create, edit, update, delete, userproducts, inquiry, sendMessage',
),
// non-cacheable actions
array(
'Products' => 'create, edit, update, delete, search, searchMeFirst, userproducts, hide, showProduct, list, inquiry, sendMessage',
)
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter('Drcsystems\\ProductAdvertisement\\Property\\TypeConverter\\UploadedFileReferenceConverter');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter('Drcsystems\\ProductAdvertisement\\Property\\TypeConverter\\ObjectStorageConverter');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/realurl/class.tx_realurl_autoconfgen.php']['extensionConfiguration']['product_advertisement'] =
\Drcsystems\ProductAdvertisement\Hooks\RealurlAutoConf::class . '->extensionConfiguration';