Skip to content

Commit 2ec81c6

Browse files
authored
Merge pull request #870 from sypets/add-icons-in-tca
[TASK] Use calendarize icons in TCA
2 parents dd4db2d + 68571a2 commit 2ec81c6

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)