original_string: 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'));
      }
code: 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'));
      }
code_tokens: 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' ) ) ; }
docstring: Prepares commonly used view data.
  @param October\Rain\Database\Model $model
docstring_tokens: Prepares commonly used view data .