-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
ext_tables.php
48 lines (45 loc) · 1.71 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Imaging\IconRegistry;
use TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider;
defined('TYPO3') || die();
call_user_func(static function ($packageKey) {
// Add icons to registry
/* @var $iconRegistry IconRegistry */
$iconRegistry = GeneralUtility::makeInstance(IconRegistry::class);
$iconRegistry->registerIcon(
'extensions-t3extblog-post',
BitmapIconProvider::class,
['source' => 'EXT:'.$packageKey.'/Resources/Public/Icons/page.png']
);
$iconRegistry->registerIcon(
'extensions-t3extblog-category',
BitmapIconProvider::class,
['source' => 'EXT:'.$packageKey.'/Resources/Public/Icons/category.png']
);
$iconRegistry->registerIcon(
'extensions-t3extblog-comment',
BitmapIconProvider::class,
['source' => 'EXT:'.$packageKey.'/Resources/Public/Icons/comment.png']
);
$iconRegistry->registerIcon(
'extensions-t3extblog-subscriber',
BitmapIconProvider::class,
['source' => 'EXT:'.$packageKey.'/Resources/Public/Icons/subscriber.png']
);
$iconRegistry->registerIcon(
'extensions-t3extblog-trackback',
BitmapIconProvider::class,
['source' => 'EXT:'.$packageKey.'/Resources/Public/Icons/trackback.png']
);
$iconRegistry->registerIcon(
'extensions-t3extblog-plugin',
BitmapIconProvider::class,
['source' => 'EXT:'.$packageKey.'/Resources/Public/Icons/module.png']
);
$iconRegistry->registerIcon(
'tcarecords-pages-contains-t3blog',
BitmapIconProvider::class,
['source' => 'EXT:'.$packageKey.'/Resources/Public/Icons/folder.png']
);
}, 't3extblog');