public function getTranslations()
    {
        return $this->owner->hasMany($this->translationClassName, [$this->languageForeignKey => $this->_ownerPrimaryKey]);
    }
public function getTranslations()
    {
        return $this->owner->hasMany($this->translationClassName, [$this->languageForeignKey => $this->_ownerPrimaryKey]);
    }
public function getTranslations ( ) { return $ this -> owner -> hasMany ( $ this -> translationClassName , [ $ this -> languageForeignKey => $ this -> _ownerPrimaryKey ] ) ; }
Relation to model translations
@return ActiveQuery
Relation to model translations