-
Notifications
You must be signed in to change notification settings - Fork 1
/
ext_localconf.php
30 lines (26 loc) · 1.36 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
<?php
call_user_func(static function () {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:riddle/Configuration/TSconfig/ContentElementWizard.typoscript">
');
if (TYPO3_MODE === 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1598116730] = [
'nodeName' => 'ExternalIcons',
'priority' => 70,
'class' => \StudioMitte\Riddle\Backend\FieldWizard\ExternalIcons::class
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1598116731] = [
'nodeName' => 'selectSingleWithNoIconPrefix',
'priority' => 70,
'class' => \StudioMitte\Riddle\Backend\Element\SelectSingleElementWithNoIcon::class
];
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'ext-riddle-plugin',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:riddle/Resources/Public/Icons/Plugin.png']
);
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['list_type_Info']['riddle_riddle']['riddle'] =
\StudioMitte\Riddle\Hooks\PageLayoutView::class . '->getExtensionSummary';
}
});