i18n/BaseLangHelper.php
public static function activeLanguagesArray()
    {
        if (!empty(Yii::$app->langManager) && !empty(Yii::$app->langManager->langsConfig)) {
            return Yii::$app->langManager->langsConfig;
        } else {
            return include(dirname(__DIR__) . '/config/langs-default.php');
        }
    }
public static function activeLanguagesArray()
    {
        if (!empty(Yii::$app->langManager) && !empty(Yii::$app->langManager->langsConfig)) {
            return Yii::$app->langManager->langsConfig;
        } else {
            return include(dirname(__DIR__) . '/config/langs-default.php');
        }
    }
public static function activeLanguagesArray ( ) { if ( ! empty ( Yii :: $ app -> langManager ) && ! empty ( Yii :: $ app -> langManager -> langsConfig ) ) { return Yii :: $ app -> langManager -> langsConfig ; } else { return include ( dirname ( __DIR__ ) . '/config/langs-default.php' ) ; } }
Get basic active languages array according to sort criteria.
@return array of Lang objects
Get basic active languages array according to sort criteria .