original_string: 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']);
      }
code: 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']);
      }
code_tokens: 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' ] ) ; }
docstring: Simplify a FlexForm DataStructure array.
  Removes all unnecessary sheet, field or value identifiers.
  
  @param string|array $flexFormData either a converted FlexForm array or the raw FlexForm string
  @return array simplified FlexForm data structure
docstring_tokens: Simplify a FlexForm DataStructure array . Removes all unnecessary sheet field or value identifiers .