You are here

function privatemsg_block_info in Privatemsg 7.2

Same name and namespace in other branches
  1. 7 privatemsg.module \privatemsg_block_info()

Implements hook_block_info().

File

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