By adding the $form_state variable to the drupal_alter call, you can add custom form elements values (that had been added via a hook_form_alter) and then pass them on to the $parameters so they would be available if you were to invoke hook_mail_alter.

CommentFileSizeAuthor
add-to-alter.patch647 bytesbcn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcnventura’s picture

Status: Needs review » Closed (won't fix)

This seems... complicated.