mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 14:16:12 +01:00

[BUGFIX] Fix default controls override for plugin type (#690)

Resolves: #688

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
Łukasz Uznański 2022-11-30 06:14:20 +01:00 committed by GitHub
parent e0abb349cd
commit f2e071561e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,5 @@ defined('TYPO3') || die();
// This removes the default controls from the plugin. // This removes the default controls from the plugin.
$controlsToRemove = 'recursive,select_key,pages'; $controlsToRemove = 'recursive,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'] = [ $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teaindex'] = $controlsToRemove;
'tea_teaindex' => $controlsToRemove, $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teashow'] = $controlsToRemove;
'tea_teashow' => $controlsToRemove,
];