-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
ext_tables.php
27 lines (24 loc) · 1007 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
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Imaging\IconRegistry;
use TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider;
use TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider;
defined('TYPO3') || die();
call_user_func(static function () {
$iconRegistry = GeneralUtility::makeInstance(IconRegistry::class);
$iconRegistry->registerIcon(
'extensions-generic-gallery',
SvgIconProvider::class,
['source' => 'EXT:generic_gallery/Resources/Public/Icons/Extension.svg']
);
$iconRegistry->registerIcon(
'extensions-generic-gallery-pictures',
BitmapIconProvider::class,
['source' => 'EXT:generic_gallery/Resources/Public/Icons/tx_genericgallery_domain_model_galleryitem.gif']
);
$iconRegistry->registerIcon(
'extensions-generic-gallery-content',
BitmapIconProvider::class,
['source' => 'EXT:generic_gallery/Resources/Public/Icons/tx_genericgallery_domain_model_textitem.gif']
);
});