function hook_query_privatemsg_participants_alter in Privatemsg 7.2
Same name and namespace in other branches
- 7 privatemsg.api.php \hook_query_privatemsg_participants_alter()
Alter the query that loads the participants of a thread.
Parameters
$query: Query object
See also
Related topics
File
- ./
privatemsg.api.php, line 98 - Privatemsg API Documentation
Code
function hook_query_privatemsg_participants_alter($query) {
$thread_id = $query
->getMetaData('arg_1');
$account = $query
->getMetaData('arg_2');
}