diff --git a/modules/backend/behaviors/FormController.php b/modules/backend/behaviors/FormController.php index 02cc43ba1..b2c8e5cc8 100644 --- a/modules/backend/behaviors/FormController.php +++ b/modules/backend/behaviors/FormController.php @@ -409,6 +409,15 @@ class FormController extends ControllerBehavior 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. * @return string