[BUGFIX] FormEngine: Support description in BackendLayoutWizardElement
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 6 May 2021 13:01:10 +0000 (15:01 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 6 May 2021 16:47:06 +0000 (18:47 +0200)
Have TCA 'description' field for renderType=belayoutwizard.
See styleguide elements basic -> text -> text_20 before/after.

Resolves: #94079
Releases: master, 10.4
Change-Id: I18d8001904e97384b15d825253919465f90c4a06
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69057
Tested-by: core-ci <typo3@b13.com>
Tested-by: Jochen <rothjochen@gmail.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Jochen <rothjochen@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/backend/Classes/View/Wizard/Element/BackendLayoutWizardElement.php

index 811605b..3e4ead6 100644 (file)
@@ -25,6 +25,17 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
  */
 class BackendLayoutWizardElement extends AbstractFormElement
 {
+    /**
+     * Default field information enabled for this element.
+     *
+     * @var array
+     */
+    protected $defaultFieldInformation = [
+        'tcaDescription' => [
+            'renderType' => 'tcaDescription',
+        ],
+    ];
+
     /**
      * @var array
      */