data; if (empty($this->data['fieldListToRender'])) { $options['renderType'] = 'fullRecordContainer'; } else { $options['renderType'] = 'listOfFieldsContainer'; } $result = $this->nodeFactory->create($options)->render(); $childHtml = $result['html']; $view = $this->backendViewFactory->create($this->data['request']); $descriptionColumn = !empty($this->data['processedTca']['ctrl']['descriptionColumn']) ? $this->data['processedTca']['ctrl']['descriptionColumn'] : null; if ($descriptionColumn !== null && isset($this->data['databaseRow'][$descriptionColumn])) { $view->assign('recordDescription', $this->data['databaseRow'][$descriptionColumn]); } $readOnlyRecord = !empty($this->data['processedTca']['ctrl']['readOnly']) ? (bool)$this->data['processedTca']['ctrl']['readOnly'] : null; if ($readOnlyRecord === true) { $view->assign('recordReadonly', true); } $fieldInformationResult = $this->renderFieldInformation(); $fieldInformationHtml = $fieldInformationResult['html']; $result = $this->mergeChildReturnIntoExistingResult($result, $fieldInformationResult, false); $fieldWizardResult = $this->renderFieldWizard(); $fieldWizardHtml = $fieldWizardResult['html']; $result = $this->mergeChildReturnIntoExistingResult($result, $fieldWizardResult, false); $view->assignMultiple([ 'fieldInformationHtml' => $fieldInformationHtml, 'fieldWizardHtml' => $fieldWizardHtml, 'childHtml' => $childHtml, 'isNewRecord' => $this->data['command'] === 'new', ]); $result['html'] = $view->render('Form/FormWrapContainer'); return $result; } }