Skip to content

Commit 0a20e0a

Browse files
committed
Improve module registration
1 parent 74735b8 commit 0a20e0a

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

Configuration/Icons.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
return [
4+
'llxml2xlifficon' => [
5+
'provider' => \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
6+
'source' => 'EXT:ew_llxml2xliff/Resources/Public/Icons/Extension.svg'
7+
]
8+
];

Configuration/Services.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ services:
77

88
Evoweb\EwLlxml2xliff\:
99
resource: '../Classes/*'
10+
11+
Evoweb\EwLlxml2xliff\Controller\FileController:
12+
tags: [ 'backend.controller' ]

ext_tables.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
],
1313
[
1414
'access' => 'user,group',
15-
'icon' => 'EXT:ew_llxml2xliff/Resources/Public/Icons/Extension.svg',
15+
'name' => 'tools_llxmlconverter',
16+
'iconIdentifier' => 'llxml2xlifficon',
1617
'labels' => 'LLL:EXT:ew_llxml2xliff/Resources/Private/Language/locallang_mod.xlf',
1718
]
1819
);

0 commit comments

Comments
 (0)