diff --git a/Documentation/ApiOverview/FormEngine/Rendering/_InputTextElement.php b/Documentation/ApiOverview/FormEngine/Rendering/_InputTextElement.php index f4c8103225..8c8cd7eb3b 100644 --- a/Documentation/ApiOverview/FormEngine/Rendering/_InputTextElement.php +++ b/Documentation/ApiOverview/FormEngine/Rendering/_InputTextElement.php @@ -6,8 +6,24 @@ use TYPO3\CMS\Backend\Form\Element\AbstractFormElement; -final class InputTextElement extends AbstractFormElement +class InputTextElement extends AbstractFormElement { + /** + * Default field information enabled for this element. + * + * @var array + */ + protected $defaultFieldInformation = [ + 'tcaDescription' => [ + 'renderType' => 'tcaDescription', + ], + ]; + + /** + * Default field wizards enabled for this element. + * + * @var array + */ protected $defaultFieldWizard = [ 'localizationStateSelector' => [ 'renderType' => 'localizationStateSelector', @@ -30,23 +46,51 @@ public function render(): array { $resultArray = $this->initializeResultArray(); + $fieldInformationResult = $this->renderFieldInformation(); + $fieldInformationHtml = $fieldInformationResult['html']; + + $fieldControlResult = $this->renderFieldControl(); + $fieldControlHtml = $fieldControlResult['html']; + $fieldWizardResult = $this->renderFieldWizard(); $fieldWizardHtml = $fieldWizardResult['html']; + $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $fieldWizardResult, false); $mainFieldHtml = []; $mainFieldHtml[] = '