mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 04:16:13 +01:00
parent
44ce11bde2
commit
b06eb38f9a
1 changed files with 25 additions and 21 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
defined('TYPO3') || die();
|
defined('TYPO3') || die();
|
||||||
|
|
||||||
|
call_user_func(
|
||||||
|
static function (): void {
|
||||||
// This makes the plugin selectable in the BE.
|
// This makes the plugin selectable in the BE.
|
||||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||||
// extension name, matching the PHP namespaces (but without the vendor)
|
// extension name, matching the PHP namespaces (but without the vendor)
|
||||||
|
@ -25,3 +27,5 @@ defined('TYPO3') || die();
|
||||||
$controlsToRemove = 'recursive,select_key,pages';
|
$controlsToRemove = 'recursive,select_key,pages';
|
||||||
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teaindex'] = $controlsToRemove;
|
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teaindex'] = $controlsToRemove;
|
||||||
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teashow'] = $controlsToRemove;
|
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['tea_teashow'] = $controlsToRemove;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
Loading…
Reference in a new issue