public function postProcessDataStructure(array &$row, &$dataStructure, array $conf) { $form = $this->getForm($row); if (NULL !== $form) { $dataStructure = $form->build(); } }
/** * Post-process the TCEforms DataStructure for a record associated * with this ConfigurationProvider * * @param array $row * @param mixed $dataStructure * @param array $conf * @return NULL */ public function postProcessDataStructure(array &$row, &$dataStructure, array $conf) { $action = $this->getControllerActionReferenceFromRecord($row); if (TRUE === empty($action)) { if (FALSE === $this->isUsingSubFieldName()) { $this->configurationService->message('No controller action was found for this page.', GeneralUtility::SYSLOG_SEVERITY_WARNING); } return NULL; } parent::postProcessDataStructure($row, $dataStructure, $conf); }