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 :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Berdir’s picture

Category: bug » support
Status: Active » Fixed

That'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 :)

joachim’s picture

Category: support » bug
Priority: Normal » Minor
Status: Fixed » Active

In which case there's a couple of types in 1.x at least!

/**
 * Implements hook_privatemsg_recipient_types_info().
 */
function privatemsg_privatemsg_recipient_type_info() {

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.

joachim’s picture

Title: missing API docs for hook_privatemsg_recipient_types_info() » typo in docblock for implementations of hook_privatemsg_recipient_type_info()

Updated title.

Present in both branches.

joachim’s picture

Status: Active » Needs review
FileSize
1.36 KB

Patch on 2.x.

Berdir’s picture

Status: Needs review » Fixed

Thanks, commited to 7.x-2.x, 7.x-1.x and 6.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.