-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
33 lines (27 loc) · 1.07 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
<?php
defined('TYPO3_MODE') || die('Access denied.');
(static function (): void {
// Add the button
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1652700576248] = [
'nodeName' => 'inline',
'priority' => 50,
'class' => \Oracle\Typo3Dam\FormEngine\Container\SelectorButtonContainer::class,
];
// Only legacy TYPO3 v10 APIs after this point.
if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version) >= 11000000) {
return;
}
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
\TYPO3\CMS\Core\Imaging\IconRegistry::class
);
$iconRegistry->registerIcon(
'tx-oracle-logo',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:oracle_dam/Resources/Public/Icons/Oracle.svg']
);
$iconRegistry->registerIcon(
'tx-oracle-module',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:oracle_dam/Resources/Public/Icons/Module.svg']
);
})();