-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathext_localconf.php
More file actions
25 lines (21 loc) · 995 Bytes
/
Copy pathext_localconf.php
File metadata and controls
25 lines (21 loc) · 995 Bytes
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
<?php
if (!defined('TYPO3_MODE')) { die('Access denied.'); }
call_user_func(
function ($extKey) {
// register icons
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'tx-videocontent-wizard',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:' . $extKey . '/Resources/Public/Icons/wizard_videocontent.png']
);
$iconRegistry->registerIcon(
'tx-videocontent-plugin',
\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:' . $extKey . '/Resources/Public/Icons/plugin_videocontent.png']
);
// default videoce page TSconfig
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:videoce/Configuration/TypoScript/tsconfig.ts">');
},$_EXTKEY
);
?>