public static function hydrateLayoutConfigFlexFormData($flexFormData): array
    {
        $dataStructure = $flexFormData;
        if (is_string($flexFormData)) {
            $dataStructure = GeneralUtility::xml2array($flexFormData);
        }

        // Level: FlexForm Sheets
        return array_map(function ($sheet) {
            // Level: FlexForm Sheet Fields
            return array_map(function ($field) {
                // Level: FlexForm Field
                return $field['vDEF'];
            }, $sheet['lDEF']);
        }, $dataStructure['data']);
    }