SilverStripe\MultiForm\Forms\MultiForm::finish
This method saves the data on the final step, after submitting.
It should always be overloaded with parent::finish($data, $form) so you can create your own functionality which handles saving of all the data collected through each step of the form.
Signature
public function finish(array
$data,
Form
$form )
Parameters
$data
— array- The request data returned from the form
$form
— object- The form that the action was called on
Returns
- bool