mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 23:06:11 +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.
$controlsToRemove = 'recursive,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'] = [
'tea_teaindex' => $controlsToRemove,
'tea_teashow' => $controlsToRemove,
];
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teaindex'] = $controlsToRemove;
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teashow'] = $controlsToRemove;