-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
28 lines (21 loc) · 1008 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
28
<?php
defined('TYPO3_MODE') || die ('Access denied.');
#########################################
# #
# Images #
# #
#########################################
$registerImage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$registerImage->registerIcon('HighlightIcon',\TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
['source' => 'EXT:highlight_js/Resources/Public/Icons/HL.JS.png']);
#########################################
# #
# Allow external tables #
# #
#########################################
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('highlight_js');
$GLOBALS['TBE_STYLES']['skins']['highlight_js'] = array();
$GLOBALS['TBE_STYLES']['skins']['highlight_js']['name'] = 'Highlight JS ';
$GLOBALS['TBE_STYLES']['skins']['highlight_js']['stylesheetDirectories'] = array(
'visual' => 'EXT:highlight_js/Resources/Public/Css/Backend'
);