From 80894b246f48dd3ba81363b8dc932ed4aca13009 Mon Sep 17 00:00:00 2001 From: Oliver Bartsch Date: Tue, 25 Jan 2022 11:03:24 +0100 Subject: [PATCH 1/2] [TASK] Register codeblock icon as typeicon for the CType --- Configuration/TCA/Overrides/tt_content.php | 2 ++ ext_localconf.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 838722f..b28f2ef 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -9,6 +9,8 @@ 'after' ); + $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['codeblock'] = 'content-codeblock'; + $GLOBALS['TCA']['tt_content']['types']['codeblock'] = [ 'showitem' => ' --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, diff --git a/ext_localconf.php b/ext_localconf.php index 8ea3eb9..56f22d8 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -1,5 +1,5 @@ Date: Tue, 25 Jan 2022 11:05:41 +0100 Subject: [PATCH 2/2] [TASK] Checkout unrelated change --- ext_localconf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_localconf.php b/ext_localconf.php index 56f22d8..8ea3eb9 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -1,5 +1,5 @@