We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9694e0b commit a055224Copy full SHA for a055224
2 files changed
Configuration/Backend/Modules.php
@@ -12,13 +12,14 @@
12
);
13
14
if ($configuration->getShowAdministrationModule() && !ExtensionManagementUtility::isLoaded('news_administration')) {
15
+ $version = (new \TYPO3\CMS\Core\Information\Typo3Version())->getMajorVersion();
16
return [
17
'web_newsAdministration' => [
18
'parent' => 'web',
19
'position' => ['after' => '*'],
20
'access' => 'admin',
21
'path' => '/module/web/NewsAdministration/',
- 'iconIdentifier' => 'ext-news-module-administration',
22
+ 'iconIdentifier' => $version >= 14 ? 'ext-news-module-administration-v14' : 'ext-news-module-administration',
23
'labels' => 'LLL:EXT:news/Resources/Private/Language/locallang_modadministration.xlf',
24
'extensionName' => 'News',
25
'controllerActions' => [
Resources/Public/Icons/module_administration-v14.svg
0 commit comments