function privatemsg_block_info

7-1 privatemsg.module privatemsg_block_info()
7-2 privatemsg.module privatemsg_block_info()

Implements hook_block_info().

File

./privatemsg.module, line 1480
Allows users to send private messages to other users.

Code

function privatemsg_block_info() {
  $blocks = array();
  $blocks['privatemsg-menu'] = array(
    'info' => t('Privatemsg links'),
    'cache' => DRUPAL_NO_CACHE,
  );
  $blocks['privatemsg-new'] = array(
    'info' => t('New message indication'),
    'cache' => DRUPAL_NO_CACHE,
  );

  return $blocks;
}