function privatemsg_block_view

7-1 privatemsg.module privatemsg_block_view($delta)
7-2 privatemsg.module privatemsg_block_view($delta)

Implements hook_block_view().

File

./privatemsg.module, line 1497
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;
}