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.
This hook is missing documentation in the api.php file.
(Which is a shame as it looks very useful -- I'm thinking things like 'send to all OG group members' and the like :)
Comment | File | Size | Author |
---|---|---|---|
#4 | 1872102.privatemsg.types-hook-docblock-typo.patch | 1.36 KB | joachim |
Comments
Comment #1
BerdirThat's because the hook is called hook_privatemsg_recipient_type_info(): http://api.worldempire.ch/api/privatemsg/privatemsg.api.php/function/hoo...
There is a lot of documentation and there is in fact an implementation for og group members now in 7.x-2.x :)
Comment #2
joachim CreditAttribution: joachim commentedIn which case there's a couple of types in 1.x at least!
I just automatically select the 'implements' line and use the hook name there to search the project code, hence why I didn't see the docs... :)
Thanks for the quick response, and very good to know about OG support.
Comment #3
joachim CreditAttribution: joachim commentedUpdated title.
Present in both branches.
Comment #4
joachim CreditAttribution: joachim commentedPatch on 2.x.
Comment #5
BerdirThanks, commited to 7.x-2.x, 7.x-1.x and 6.x-2.x.