function privatemsg_privatemsg_recipient_type_info in Privatemsg 6.2
Same name and namespace in other branches
- 7.2 privatemsg.module \privatemsg_privatemsg_recipient_type_info()
- 7 privatemsg.module \privatemsg_privatemsg_recipient_type_info()
Implements hook_privatemsg_recipient_type_info().
File
- ./
privatemsg.module, line 2811 - Allows users to send private messages to other users.
Code
function privatemsg_privatemsg_recipient_type_info() {
return array(
'user' => array(
'name' => t('User'),
'description' => t('Enter a user name to write a message to a user.'),
'load' => 'privatemsg_user_load',
'format' => 'privatemsg_username',
'autocomplete' => 'privatemsg_user_autocomplete',
// Make sure this comes always last.
'#weight' => 50,
),
);
}