[TASK] Change checkboxes in tx_scheduler_task_group and index_config
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Configuration / TCA / tx_scheduler_task_group.php
index 2a0cf2f..9f4f11b 100644 (file)
@@ -39,13 +39,21 @@ return [
             ],
         ],
         'hidden' => [
-            'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.disable',
+            'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled',
             'exclude' => true,
             'config' => [
                 'type' => 'check',
-                'default' => 0
-            ]
-        ]
+                'renderType' => 'checkboxToggle',
+                'default' => 0,
+                'items' => [
+                    [
+                        0 => '',
+                        1 => '',
+                        'invertStateDisplay' => true,
+                    ],
+                ],
+            ],
+        ],
     ],
     'types' => [
         '1' => [