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:
parent
e0abb349cd
commit
f2e071561e
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue