-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathext_tables.php
27 lines (22 loc) · 945 Bytes
/
ext_tables.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
<?php
if (!defined('TYPO3')) {
exit('Access denied.');
}
$_EXT_PATH = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('mksearch');
require_once $_EXT_PATH.'mod1/ext_tables.php';
// Add plugin wizards
// register icon
\Sys25\RnBase\Backend\Utility\Icons::getIconRegistry()->registerIcon(
'ext-mksearch-wizard-icon',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:mksearch/Resources/Public/Icons/Extension.svg']
);
// Wizardkonfiguration hinzufügen
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:mksearch/Configuration/TSconfig/ContentElementWizard.txt">'
);
\Sys25\RnBase\Backend\Utility\Icons::getIconRegistry()->registerIcon(
'apps-pagetree-folder-contains-mksearch',
'TYPO3\\CMS\Core\\Imaging\\IconProvider\\BitmapIconProvider',
['source' => 'EXT:mksearch/Resources/Public/Icons/icon_folder.gif']
);