37 $currentRenderType = $this->data[
'renderType'];
38 $fieldInformationFromTca = $options[
'processedTca'][
'ctrl'][
'container'][$currentRenderType][
'fieldInformation'] ?? [];
40 $options[
'renderType'] =
'fieldInformation';
41 $options[
'renderData'][
'fieldInformation'] = $fieldInformation;
42 return $this->nodeFactory->create($options)->render();
54 $currentRenderType = $this->data[
'renderType'];
55 $fieldControlFromTca = $options[
'processedTca'][
'ctrl'][
'container'][$currentRenderType][
'fieldControl'] ?? [];
57 $options[
'renderType'] =
'fieldControl';
58 $options[
'renderData'][
'fieldControl'] = $fieldControl;
59 return $this->nodeFactory->create($options)->render();
71 $currentRenderType = $this->data[
'renderType'];
72 $fieldWizardFromTca = $options[
'processedTca'][
'ctrl'][
'container'][$currentRenderType][
'fieldWizard'] ?? [];
74 $options[
'renderType'] =
'fieldWizard';
75 $options[
'renderData'][
'fieldWizard'] = $fieldWizard;
76 return $this->nodeFactory->create($options)->render();
91 $fieldArray = GeneralUtility::trimExplode(
';', $field);
92 if (empty($fieldArray[0])) {
93 throw new \RuntimeException(
'Field must not be empty', 1426448465);
96 'fieldName' => $fieldArray[0],
97 'fieldLabel' => !empty($fieldArray[1]) ? $fieldArray[1] :
null,
98 'paletteName' => !empty($fieldArray[2]) ? $fieldArray[2] :
null,
111 protected function renderTabMenu(array $menuItems, $domId, $defaultTabIndex = 1)
114 .
'Resources/Private/Templates/DocumentTemplate/';
116 $view = GeneralUtility::makeInstance(StandaloneView::class);
117 $view->setTemplatePathAndFilename($templatePath .
'Tabs.html');
118 $view->setPartialRootPaths([$templatePath .
'Partials']);
119 $view->assignMultiple([
121 'items' => $menuItems,
122 'defaultTabIndex' => $defaultTabIndex,
123 'wrapContent' =>
false,
124 'storeLastActiveTab' =>
true,
126 return $view->render();