src/bbn/appui/i18n.php
public function get_primaries_langs(){
    $uid_languages =  self::get_appui_option_id('languages');
    $languages = options::get_instance()->full_tree($uid_languages);
    $primaries = array_values(array_filter($languages['items'], function($v) {
      return !empty($v['primary']);
    }));
    return $primaries;
  }
public function get_primaries_langs(){
    $uid_languages =  self::get_appui_option_id('languages');
    $languages = options::get_instance()->full_tree($uid_languages);
    $primaries = array_values(array_filter($languages['items'], function($v) {
      return !empty($v['primary']);
    }));
    return $primaries;
  }
public function get_primaries_langs ( ) { $ uid_languages = self :: get_appui_option_id ( 'languages' ) ; $ languages = options :: get_instance ( ) -> full_tree ( $ uid_languages ) ; $ primaries = array_values ( array_filter ( $ languages [ 'items' ] , function ( $ v ) { return ! empty ( $ v [ 'primary' ] ) ; } ) ) ; return $ primaries ; }
Gets primaries langs from option

@return void
Gets primaries langs from option