function privatemsg_block_configure in Privatemsg 7
Same name and namespace in other branches
- 7.2 privatemsg.module \privatemsg_block_configure()
Implements hook_block_configure().
File
- ./
privatemsg.module, line 1490 - Allows users to send private messages to other users.
Code
function privatemsg_block_configure($delta = '') {
if ($delta == 'privatemsg-new') {
$form['notification'] = array(
'#type' => 'checkbox',
'#title' => t('Display block when there are no new messages'),
'#default_value' => variable_get('privatemsg_no_messages_notification', 0),
'#description' => t('Enable this to have this block always displayed, even if there are no new messages'),
);
return $form;
}
}