function privatemsg_block_info in Privatemsg 7
Same name and namespace in other branches
- 7.2 privatemsg.module \privatemsg_block_info()
Implements hook_block_info().
File
- ./
privatemsg.module, line 1457 - 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;
}