Elements/Fieldset/LanguageFieldset.php
protected function convertRepetitionsData($data)
    {
        $values = [];
        foreach ($data as $locale => $translation) {
            foreach ($translation as $fieldName => $fieldValue) {
                $values[$fieldName][$locale] = $fieldValue;
            }
        }
        
        return $values;
    }
protected function convertRepetitionsData($data)
    {
        $values = [];
        foreach ($data as $locale => $translation) {
            foreach ($translation as $fieldName => $fieldValue) {
                $values[$fieldName][$locale] = $fieldValue;
            }
        }
        
        return $values;
    }
protected function convertRepetitionsData ( $ data ) { $ values = [ ] ; foreach ( $ data as $ locale => $ translation ) { foreach ( $ translation as $ fieldName => $ fieldValue ) { $ values [ $ fieldName ] [ $ locale ] = $ fieldValue ; } } return $ values ; }
Flips language repetitions

@param array $data

@return array
Flips language repetitions