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.
I see that the mail parameters for drupal_mail() are generated via rsvp_mailer_replacements(). The way this function is used seems a bit strange to me, but that's for another issue.
I think it would be very useful to pass along the RSVP object. Otherwise, modules implementing hook_mail_alter() have no data to really work with.
Patch attached does just that.
Comment | File | Size | Author |
---|---|---|---|
rsvp_add-rsvp-object-to-mail-params.patch | 490 bytes | mstef |