You are here

function hook_privatemsg_message_load in Privatemsg 6

Same name and namespace in other branches
  1. 6.2 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 invocation of hook_privatemsg_message_load()
privatemsg_message_load_multiple in ./privatemsg.module
Load multiple messages.

File

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

Code

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