function heartbeat_comments_permission in Heartbeat 7
Implements hook_permission().
File
- modules/
heartbeat_comments/ heartbeat_comments.module, line 93 - Heartbeat comments for activity.
Code
function heartbeat_comments_permission() {
return array(
'add heartbeat comment' => array(
'title' => t('Add heartbeat comment'),
'description' => t('Permission to add a heartbeat comment.'),
),
'administer heartbeat comments' => array(
'title' => t('Administer heartbeat comments'),
'description' => t('Manage the heartbeat comments.'),
),
'delete own comments' => array(
'title' => t('Delete own heartbeat comments'),
'description' => t('Permission to delete your own heartbeat comments.'),
),
'delete any comment' => array(
'title' => t('Delete any comment'),
'description' => t('Admin permission to delete any heartbeat comment.'),
),
);
}