public function languageSwitcher($model, $view = null)
    {
        $languages = ($model->getBehavior('multilingual')) ? $languages = $model->getBehavior('multilingual')->languages : [];
        
        return FormLanguageSwitcher::widget(['languages' => $languages, 'view' => $view]);
    }