Adding hook_variable_info() to pm_email_notify will make variables translatable, key to many of us.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | privatemsg.pm_email_notify_hook_variable_info_2505481_04.patch | 2.46 KB | rfay |
| privatemsg.pm_email_notify_add_hook_variable_info.patch | 2.52 KB | rfay |
Comments
Comment #3
berdirRemove the @param and @return from both and add an empty line between the additional description. And a . at the end of the first sentence.
The module part is different from above, should be the same. Also not sure it's really needed but if we add it, then i prefer the format of the first function.
Comment #4
rfayHere is the patch with suggestions from @Berdir in #3
Comment #5
ivnishComment #6
ivnishAutomatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.