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 wanted to add some tokens to my pm email and found this hook thinking it was an elegant solution. I'm not sure why but I can't seem to catch this hook by simply creating a function mymodule_pm_email_notify_token_alter() and inserting code. I come up empty when I arrive at the admin form for editing the email.
Is there some step that I am missing? Thanks.
Comments
Comment #1
ptmkenny CreditAttribution: ptmkenny commentedWhat exactly are you trying to do? You can add tokens using the rules interface; you do not need to hook into the module in code.
Comment #2
ptmkenny CreditAttribution: ptmkenny commented