/** * Catch language */ public function init() { MultiLanguageHelper::catchLanguage(); parent::init(); }
public function init() { MultiLanguageHelper::catchLanguage(); parent::init(); $this->layout = Yii::$app->getModule('admin')->controllerLayout; }