Skip to content

Commit

Permalink
[TASK] Remove storage PID settings from plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
dot3media committed Feb 15, 2024
1 parent ccf8322 commit 44bb9e1
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Configuration/TCA/Overrides/tt_content_plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@
'ProfileSwitcher',
'LLL:EXT:academic_persons_edit/Resources/Private/Language/locallang_be.xlf:plugin.profile_switcher.label'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['academicpersonsedit_profileswitcher'] = 'recursive,select_key';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['academicpersonsedit_profileswitcher'] = implode(',', [
'pages',
'recursive',
'select_key',
]);

ExtensionUtility::registerPlugin(
'AcademicPersonsEdit',
'ProfileEditing',
'LLL:EXT:academic_persons_edit/Resources/Private/Language/locallang_be.xlf:plugin.profile_editing.label'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['academicpersonsedit_profileediting'] = 'recursive,select_key';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['academicpersonsedit_profileediting'] = implode(',', [
'pages',
'recursive',
'select_key',
]);

0 comments on commit 44bb9e1

Please sign in to comment.