You are here

function subscriptions_content_form_mail_edit_trans_save in Subscriptions 6

Save handler for enhanced mail_edit page.

1 string reference to 'subscriptions_content_form_mail_edit_trans_save'
subscriptions_content_form_mail_edit_trans_alter in ./subscriptions_content.module
Implementation of hook_form_alter().

File

./subscriptions_content.module, line 1229
Subscriptions to content events

Code

function subscriptions_content_form_mail_edit_trans_save($form, &$form_state) {
  $form_state['values']['description'] = '';
  $form_state['values']['subject'] = $form_state['values']['comment_separator'];
  $form_state['values']['body'] = $form_state['values']['comment_body'];
  $form_state['values']['id'] .= '+comment';
  mail_edit_trans_save($form, $form_state);
}