function hook_query_privatemsg_unread_count_alter in Privatemsg 7
Same name and namespace in other branches
- 7.2 privatemsg.api.php \hook_query_privatemsg_unread_count_alter()
Loads all unread messages of a user (only the count query is used).
Parameters
$query: Query object
See also
Related topics
File
- ./
privatemsg.api.php, line 112 - Privatemsg API Documentation
Code
function hook_query_privatemsg_unread_count_alter($query) {
$account = $query
->getMetaData('arg_1');
}