public function getFlexFormValuesSingle(array $row)
{
$fieldName = $this->getFieldName($row);
$form = $this->getForm($row);
// legacy language handling, this was deprecated in TYPO3 7.6 (Deprecation: #70138 Flex form language handling)
// this should stay here for a little while and be removed at some point in the future
$languageRef = null;
if ($GLOBALS['TSFE']->sys_language_uid > 0) {
$languageRef = 'l' . $GLOBALS['TSFE']->config['config']['language'];
}
$immediateConfiguration = $this->pageConfigurationService->convertFlexFormContentToArray($row[$fieldName], $form, $languageRef, null);
$immediateConfiguration = $this->overlayFlexFormValues($row, $immediateConfiguration, $form);
return $immediateConfiguration;
}