-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathext_tables.php
More file actions
executable file
·25 lines (22 loc) · 1012 Bytes
/
ext_tables.php
File metadata and controls
executable file
·25 lines (22 loc) · 1012 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
defined('TYPO3_MODE') or die();
if (TYPO3_MODE === 'BE') {
$GLOBALS['TYPO3_CONF_VARS']['BE']['ContextMenu']['ItemProviders'][1523366345] = \Cobweb\BranchCache\ContextMenu\ItemProvider::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][] = \Cobweb\BranchCache\Hook\BackendControllerHook::class . '->addLabels';
// $iconRegistry->registerIcon($item['iconIdentifier'], SvgIconProvider::class, [
// 'source' => $icon,
// ]);
//
// /** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
// $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
// foreach ($icons as $key => $icon) {
// $iconRegistry->registerIcon(
// 'extensions-messenger-' . $key,
// \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
// [
// 'source' => $icon
// ]
// );
// }
// unset($iconRegistry);
}