Make formWidget available to FormController behavior via formGetWidget()
This commit is contained in:
parent
f99bd0e427
commit
1e8bf5d62b
|
|
@ -409,6 +409,15 @@ class FormController extends ControllerBehavior
|
||||||
return $this->formRender(['section' => 'secondary']);
|
return $this->formRender(['section' => 'secondary']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the widget used by this behavior.
|
||||||
|
* @return Backend\Classes\WidgetBase
|
||||||
|
*/
|
||||||
|
public function formGetWidget()
|
||||||
|
{
|
||||||
|
return $this->formWidget;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper to get a unique ID for the form widget.
|
* Helper to get a unique ID for the form widget.
|
||||||
* @return string
|
* @return string
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue