backend.form.refresh

Triggered in Backend\Widgets\Form.

Called after the form is refreshed, should return an array of additional result parameters.

Example usage:

Event::listen('backend.form.refresh', function((\Backend\Widgets\Form) $formWidget, (array) $result) {
    $result['#my-partial-id' => $formWidget->makePartial('$/path/to/custom/backend/partial.htm')];
    return $result;
});

Or

$formWidget->bindEvent('form.refresh', function ((array) $result) use ((\Backend\Widgets\Form $formWidget)) {
    $result['#my-partial-id' => $formWidget->makePartial('$/path/to/custom/backend/partial.htm')];
    return $result;
});