function template_preprocess_privatemsg_recipients in Privatemsg 7
Same name and namespace in other branches
- 6.2 privatemsg.module \template_preprocess_privatemsg_recipients()
- 6 privatemsg.module \template_preprocess_privatemsg_recipients()
- 7.2 privatemsg.module \template_preprocess_privatemsg_recipients()
File
- ./
privatemsg.module, line 807 - 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['thread']['participants'])) {
$vars['participants'] = _privatemsg_format_participants($vars['thread']['participants']);
}
}