function comment_delete_permission in Comment Delete 7
Implements hook_permission().
File
- ./
comment_delete.module, line 11 - comment_delete.module
Code
function comment_delete_permission() {
return array(
'delete own comment' => array(
'title' => t('Delete own comments'),
'description' => t('Allow user to delete their own comments within threshold.'),
),
'delete own comment anytime' => array(
'title' => t('Delete own comments anytime'),
'description' => t('Allow user to delete their own comments anytime.'),
),
'delete any comment' => array(
'title' => t('Delete any comment'),
'description' => t('Allow user to delete any comment within threshold.'),
),
'delete any comment anytime' => array(
'title' => t('Delete any comment anytime'),
'description' => t('Allow user to delete any comment anytime.'),
),
'delete comment replies' => array(
'title' => t('Delete comment replies'),
'description' => t('Allow user to delete replies to their own comments.'),
),
'move comment replies' => array(
'title' => t('Move comment replies'),
'description' => t('Allow user to move replies to their own comments.'),
),
);
}