protected function prepareVars($model)
    {
        $this->controller->vars['formModel'] = $model;
        $this->controller->vars['formContext'] = $this->formGetContext();
        $this->controller->vars['formRecordName'] = Lang::get($this->getConfig('name', 'backend::lang.model.name'));
    }
protected function prepareVars($model)
    {
        $this->controller->vars['formModel'] = $model;
        $this->controller->vars['formContext'] = $this->formGetContext();
        $this->controller->vars['formRecordName'] = Lang::get($this->getConfig('name', 'backend::lang.model.name'));
    }
protected function prepareVars ( $ model ) { $ this -> controller -> vars [ 'formModel' ] = $ model ; $ this -> controller -> vars [ 'formContext' ] = $ this -> formGetContext ( ) ; $ this -> controller -> vars [ 'formRecordName' ] = Lang :: get ( $ this -> getConfig ( 'name' , 'backend::lang.model.name' ) ) ; }
Prepares commonly used view data.
@param October\Rain\Database\Model $model
Prepares commonly used view data .