You are here

function hook_privatemsg_message_load in Privatemsg 6.2

Same name and namespace in other branches
  1. 6 privatemsg.api.php \hook_privatemsg_message_load()

Is called after the message has been loaded.

Return data will be merged with the $message array.

Parameters

$message: Message array

Related topics

1 function implements hook_privatemsg_message_load()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

privatemsg_attachments_privatemsg_message_load in privatemsg_attachments/privatemsg_attachments.module
Implements hook_privatemsg_message_load().
1 invocation of hook_privatemsg_message_load()
privatemsg_message_load_multiple in ./privatemsg.module
Load multiple messages.

File

./privatemsg.api.php, line 278
Privatemsg API Documentation

Code

function hook_privatemsg_message_load($message) {
  return array(
    'my_key' => 'my_value',
  );
}