function template_preprocess_privatemsg_recipients in Privatemsg 6
Same name and namespace in other branches
- 6.2 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 633 - 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']);
}
}