From 2da87e44699f87e3017618e898acd03c62435209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20B=C3=BCchler?= Date: Sat, 19 Oct 2024 16:43:03 +0300 Subject: [PATCH] [TASK] Add descriptions to content element registration --- .../TCA/Overrides/200_content_element_listcat.php | 9 +++++---- .../TCA/Overrides/202_content_element_modal_dialog.php | 9 +++++---- .../TCA/Overrides/204_content_element_schema.php | 9 +++++---- .../TCA/Overrides/206_content_element_picoverlay.php | 9 +++++---- .../Overrides/208_content_element_emphasize_media.php | 9 +++++---- Configuration/TCA/Overrides/210_content_element_card.php | 9 +++++---- 6 files changed, 30 insertions(+), 24 deletions(-) diff --git a/Configuration/TCA/Overrides/200_content_element_listcat.php b/Configuration/TCA/Overrides/200_content_element_listcat.php index d71749565..9852dc60c 100644 --- a/Configuration/TCA/Overrides/200_content_element_listcat.php +++ b/Configuration/TCA/Overrides/200_content_element_listcat.php @@ -24,10 +24,11 @@ 'tt_content', 'CType', [ - 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_list_categorized_content.title', - 'pp_list_categorized_content', - 'content-pizpalue-list-categorized-content', - 'pizpalue', + 'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_list_categorized_content.title', + 'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_list_categorized_content.description', + 'value' => 'pp_list_categorized_content', + 'icon' => 'content-pizpalue-list-categorized-content', + 'group' => 'pizpalue', ] ); diff --git a/Configuration/TCA/Overrides/202_content_element_modal_dialog.php b/Configuration/TCA/Overrides/202_content_element_modal_dialog.php index 67b6e6128..f4e5db066 100644 --- a/Configuration/TCA/Overrides/202_content_element_modal_dialog.php +++ b/Configuration/TCA/Overrides/202_content_element_modal_dialog.php @@ -29,10 +29,11 @@ 'tt_content', 'CType', [ - 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_modal_dialog.title', - 'pp_modal_dialog', - 'content-pizpalue-modal-dialog', - 'pizpalue', + 'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_modal_dialog.title', + 'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_modal_dialog.description', + 'value' => 'pp_modal_dialog', + 'icon' => 'content-pizpalue-modal-dialog', + 'group' => 'pizpalue', ] ); diff --git a/Configuration/TCA/Overrides/204_content_element_schema.php b/Configuration/TCA/Overrides/204_content_element_schema.php index 843a70a8a..b98eb3d21 100644 --- a/Configuration/TCA/Overrides/204_content_element_schema.php +++ b/Configuration/TCA/Overrides/204_content_element_schema.php @@ -24,10 +24,11 @@ 'tt_content', 'CType', [ - 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_schema.title', - 'pp_schema', - 'content-pizpalue-schema', - 'pizpalue', + 'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_schema.title', + 'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_schema.description', + 'value' => 'pp_schema', + 'icon' => 'content-pizpalue-schema', + 'group' => 'pizpalue', ] ); diff --git a/Configuration/TCA/Overrides/206_content_element_picoverlay.php b/Configuration/TCA/Overrides/206_content_element_picoverlay.php index df9dff57e..f3c67c424 100644 --- a/Configuration/TCA/Overrides/206_content_element_picoverlay.php +++ b/Configuration/TCA/Overrides/206_content_element_picoverlay.php @@ -17,10 +17,11 @@ 'tt_content', 'CType', [ - 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_picoverlay.title', - 'pp_picoverlay', - 'content-pizpalue-picoverlay', - 'pizpalue', + 'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_picoverlay.title', + 'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_picoverlay.description', + 'value' => 'pp_picoverlay', + 'icon' => 'content-pizpalue-picoverlay', + 'group' => 'pizpalue', ] ); diff --git a/Configuration/TCA/Overrides/208_content_element_emphasize_media.php b/Configuration/TCA/Overrides/208_content_element_emphasize_media.php index e929f7435..36f3daa63 100644 --- a/Configuration/TCA/Overrides/208_content_element_emphasize_media.php +++ b/Configuration/TCA/Overrides/208_content_element_emphasize_media.php @@ -17,10 +17,11 @@ 'tt_content', 'CType', [ - 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_emphasize_media.title', - 'pp_emphasize_media', - 'content-pizpalue-emphasize-media', - 'pizpalue', + 'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_emphasize_media.title', + 'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_emphasize_media.descriptiom', + 'value' => 'pp_emphasize_media', + 'icon' => 'content-pizpalue-emphasize-media', + 'group' => 'pizpalue', ] ); diff --git a/Configuration/TCA/Overrides/210_content_element_card.php b/Configuration/TCA/Overrides/210_content_element_card.php index 1f9e5dd5b..04ceb0e2e 100644 --- a/Configuration/TCA/Overrides/210_content_element_card.php +++ b/Configuration/TCA/Overrides/210_content_element_card.php @@ -17,10 +17,11 @@ 'tt_content', 'CType', [ - 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_card.title', - 'pp_card', - 'content-pizpalue-card', - 'pizpalue', + 'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_card.title', + 'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_card.description', + 'value' => 'pp_card', + 'icon' => 'content-pizpalue-card', + 'group' => 'pizpalue', ] );