Skip to content

Commit

Permalink
[TASK] Use iconIdentifier in module registration (#2586)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfred authored Nov 27, 2024
1 parent 87186af commit 67bb6ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/Backend/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'position' => ['after' => '*'],
'access' => 'user,group',
'path' => '/module/web/NewsAdministration/',
'icon' => 'EXT:news/Resources/Public/Icons/module_administration.svg',
'iconIdentifier' => 'ext-news-module-administration',
'labels' => 'LLL:EXT:news/Resources/Private/Language/locallang_modadministration.xlf',
'extensionName' => 'News',
'controllerActions' => [
Expand Down
1 change: 1 addition & 0 deletions Configuration/Icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'ext-news-patreon' => 'donation_patreon.svg',
'ext-news-amazon' => 'donation_amazon.svg',
'ext-news-doublecheck' => 'double_check.svg',
'ext-news-module-administration' => 'module_administration.svg',
] as $identifier => $path) {
$iconList[$identifier] = [
'provider' => SvgIconProvider::class,
Expand Down

0 comments on commit 67bb6ca

Please sign in to comment.