widgets/ToggleTranslate.php
private function _registerAssets()
    {
        if ($this->frontendTranslationAsset) {
            Yii::$app->view->registerAssetBundle($this->frontendTranslationAsset);
        }

        if ($this->frontendTranslationPluginAsset) {
            Yii::$app->view->registerAssetBundle($this->frontendTranslationPluginAsset);
        }
    }
private function _registerAssets()
    {
        if ($this->frontendTranslationAsset) {
            Yii::$app->view->registerAssetBundle($this->frontendTranslationAsset);
        }

        if ($this->frontendTranslationPluginAsset) {
            Yii::$app->view->registerAssetBundle($this->frontendTranslationPluginAsset);
        }
    }
private function _registerAssets ( ) { if ( $ this -> frontendTranslationAsset ) { Yii :: $ app -> view -> registerAssetBundle ( $ this -> frontendTranslationAsset ) ; } if ( $ this -> frontendTranslationPluginAsset ) { Yii :: $ app -> view -> registerAssetBundle ( $ this -> frontendTranslationPluginAsset ) ; } }
Registering asset files
Registering asset files