From e772235f1c3f6a491e0a1703aafe3f7ceda1e872 Mon Sep 17 00:00:00 2001 From: Torben Freudewald Date: Mon, 22 Jul 2024 14:33:18 +0200 Subject: [PATCH] [TASK] Add extension icon --- .../TCA/Overrides/tt_content_plugins.php | 6 ++- Resources/Public/Icons/persons_edit_icon.svg | 43 +++++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 Resources/Public/Icons/persons_edit_icon.svg diff --git a/Configuration/TCA/Overrides/tt_content_plugins.php b/Configuration/TCA/Overrides/tt_content_plugins.php index 8834535..dc41932 100644 --- a/Configuration/TCA/Overrides/tt_content_plugins.php +++ b/Configuration/TCA/Overrides/tt_content_plugins.php @@ -14,7 +14,8 @@ ExtensionUtility::registerPlugin( 'AcademicPersonsEdit', 'ProfileSwitcher', - 'LLL:EXT:academic_persons_edit/Resources/Private/Language/locallang_be.xlf:plugin.profile_switcher.label' + 'LLL:EXT:academic_persons_edit/Resources/Private/Language/locallang_be.xlf:plugin.profile_switcher.label', + 'EXT:academic_persons_edit/Resources/Public/Icons/persons_edit_icon.svg' ); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['academicpersonsedit_profileswitcher'] = implode(',', [ 'pages', @@ -25,7 +26,8 @@ ExtensionUtility::registerPlugin( 'AcademicPersonsEdit', 'ProfileEditing', - 'LLL:EXT:academic_persons_edit/Resources/Private/Language/locallang_be.xlf:plugin.profile_editing.label' + 'LLL:EXT:academic_persons_edit/Resources/Private/Language/locallang_be.xlf:plugin.profile_editing.label', + 'EXT:academic_persons_edit/Resources/Public/Icons/persons_edit_icon.svg' ); $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['academicpersonsedit_profileediting'] = implode(',', [ 'pages', diff --git a/Resources/Public/Icons/persons_edit_icon.svg b/Resources/Public/Icons/persons_edit_icon.svg new file mode 100644 index 0000000..943e9e1 --- /dev/null +++ b/Resources/Public/Icons/persons_edit_icon.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + +