function privatemsg_block_view in Privatemsg 7
Same name and namespace in other branches
- 7.2 privatemsg.module \privatemsg_block_view()
Implements hook_block_view().
File
- ./
privatemsg.module, line 1474 - Allows users to send private messages to other users.
Code
function privatemsg_block_view($delta) {
$block = array();
switch ($delta) {
case 'privatemsg-menu':
$block = _privatemsg_block_menu();
break;
case 'privatemsg-new':
$block = _privatemsg_block_new();
break;
}
return $block;
}