2 namespace TYPO3\CMS\Backend\Form\Container;
36 $table = $this->data[
'tableName'];
37 $fieldListToRender = $this->data[
'fieldListToRender'];
38 $recordTypeValue = $this->data[
'recordTypeValue'];
41 if (
$GLOBALS[
'TCA'][$table][
'interface'][
'always_description']) {
43 $languageService->loadSingleTableDescription($table);
48 $fieldsByShowitem = $this->data[
'processedTca'][
'types'][$recordTypeValue][
'showitem'];
51 $finalFieldsList = array();
52 foreach ($fieldListToRender as $fieldName) {
54 foreach ($fieldsByShowitem as $fieldByShowitem) {
56 if ($fieldByShowitemArray[
'fieldName'] === $fieldName) {
58 $finalFieldsList[] = implode(
';', $fieldByShowitemArray);
64 $finalFieldsList[] = $fieldName;
69 $options[
'fieldsArray'] = $finalFieldsList;
70 $options[
'renderType'] =
'paletteAndSingleContainer';
71 return $this->nodeFactory->create($options)->render();