schmunk42\giiant\generators\crud\Generator::getViewPath PHP Method

getViewPath() public method

public getViewPath ( ) : string
return string the action view file path
    public function getViewPath()
    {
        if ($this->viewPath !== null) {
            return \Yii::getAlias($this->viewPath) . '/' . $this->getControllerID();
        } else {
            return parent::getViewPath();
        }
    }