Elements/Fieldset/LanguageFieldset.php
protected function prepareLanguages()
    {
        $options = [];
        foreach ($this->options['languages'] as $language) {
            $options[] = $this->prepareLanguage($language);
        }
        
        return $options;
    }
protected function prepareLanguages()
    {
        $options = [];
        foreach ($this->options['languages'] as $language) {
            $options[] = $this->prepareLanguage($language);
        }
        
        return $options;
    }
protected function prepareLanguages ( ) { $ options = [ ] ; foreach ( $ this -> options [ 'languages' ] as $ language ) { $ options [ ] = $ this -> prepareLanguage ( $ language ) ; } return $ options ; }
Prepares the languages

@return array
Prepares the languages