Skip to content

Commit 68571a2

Browse files
committed
[TASK] Use calendarize icons in TCA
In TCA, the corresponding icons from Icons.php will be used for each plugin. This way, the calendarize icons are displayed instead of the general plugin icon in the backend. Resolves: #869
1 parent dd4db2d commit 68571a2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Configuration/TCA/Overrides/tt_content.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828
);
2929

3030
foreach ($pluginNameAndGroup as $pluginName => $group) {
31+
$pluginNameLowercase = strtolower($pluginName);
3132
$pluginSignature = TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
3233
'calendarize',
3334
$pluginName,
34-
$ll . 'mode.' . strtolower($pluginName),
35-
null,
35+
$ll . 'mode.' . $pluginNameLowercase,
36+
'ext-calendarize-wizard-icon-' . $pluginNameLowercase,
3637
$group,
3738
);
3839
// Disable the display of layout and select_key fields for the plugin

0 commit comments

Comments
 (0)