mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
MINOR: Added a few extension points to allow tapping into various areas
This commit is contained in:
parent
362a76aee0
commit
c036af79ab
@ -764,6 +764,8 @@ JS
|
||||
}
|
||||
}
|
||||
|
||||
$this->extend('updateEmail', $email, $recipient, $emailData);
|
||||
|
||||
if($recipient->SendPlain) {
|
||||
$body = strip_tags($recipient->EmailBody) . "\n ";
|
||||
if(isset($emailData['Fields']) && !$recipient->HideFormData) {
|
||||
@ -872,6 +874,8 @@ class UserDefinedForm_EmailRecipient extends DataObject {
|
||||
}
|
||||
}
|
||||
|
||||
$this->extend('updateCMSFields', $fields);
|
||||
|
||||
return $fields;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user