mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Enhancement: added an extension point to UserDefinedForm.finished
This commit is contained in:
parent
3e9a271310
commit
7983a7f119
@ -885,11 +885,15 @@ JS
|
||||
Session::clear('FormProcessed');
|
||||
}
|
||||
|
||||
$data = array(
|
||||
'Submission' => $submission,
|
||||
'Link' => $referrer
|
||||
);
|
||||
|
||||
$this->extend('updateReceivedFormSubmissionData', $data);
|
||||
|
||||
return $this->customise(array(
|
||||
'Content' => $this->customise(array(
|
||||
'Submission' => $submission,
|
||||
'Link' => $referrer
|
||||
))->renderWith('ReceivedFormSubmission'),
|
||||
'Content' => $this->customise($data)->renderWith('ReceivedFormSubmission'),
|
||||
'Form' => '',
|
||||
));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user