function webform_email_clone in Webform 7.4
Clone an existing e-mail setting.
Parameters
$email: An array of settings for sending an e-mail.
Return value
false|int The e-mail identifier for this row's settings on success else false.
1 call to webform_email_clone()
- webform_email_edit_form_submit in includes/
webform.emails.inc - Submit handler for webform_email_edit_form().
File
- includes/
webform.emails.inc, line 730 - Provides interface and database handling for e-mail settings of a webform.
Code
function webform_email_clone($email) {
$email['eid'] = NULL;
return webform_email_insert($email);
}