prepareVars(); return $this->makePartial('{{lower_name}}'); } /** * Prepares the form widget view data */ public function prepareVars() { $this->vars['name'] = $this->formField->getName(); $this->vars['value'] = $this->getLoadValue(); $this->vars['model'] = $this->model; } /** * @inheritDoc */ public function loadAssets() { $this->addCss('css/{{lower_name}}.css', '{{author}}.{{plugin}}'); $this->addJs('js/{{lower_name}}.js', '{{author}}.{{plugin}}'); } /** * @inheritDoc */ public function getSaveValue($value) { return $value; } }