Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
add-to-alter.patch | 647 bytes | bcn | |
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedThis seems... complicated.