function template_preprocess_privatemsg_recipients in Privatemsg 6.2
Same name and namespace in other branches
- 6 privatemsg.module \template_preprocess_privatemsg_recipients()
- 7.2 privatemsg.module \template_preprocess_privatemsg_recipients()
- 7 privatemsg.module \template_preprocess_privatemsg_recipients()
File
- ./
privatemsg.module, line 792 - Allows users to send private messages to other users.
Code
function template_preprocess_privatemsg_recipients(&$vars) {
$vars['participants'] = '';
// assign a default empty value
if (isset($vars['message']['participants'])) {
$vars['participants'] = _privatemsg_format_participants($vars['message']['participants']);
}
}