Skip to content

Commit 0ee38f0

Browse files
authored
Merge pull request #8 from b13/issue-7
[TASK] Register codeblock icon as typeicon for the CType
2 parents f2c886e + ecd0475 commit 0ee38f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Configuration/TCA/Overrides/tt_content.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
'after'
1010
);
1111

12+
$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['codeblock'] = 'content-codeblock';
13+
1214
$GLOBALS['TCA']['tt_content']['types']['codeblock'] = [
1315
'showitem' => '
1416
--div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,

0 commit comments

Comments
 (0)