function comment_perm_menu in Comment Permissions 7.2
Same name and namespace in other branches
- 5 comment_perm.module \comment_perm_menu()
- 6 comment_perm.module \comment_perm_menu()
- 7 comment_perm.module \comment_perm_menu()
Implements hook_menu().
File
- ./
comment_perm.module, line 44 - Control commenting permissions by role and by node type.
Code
function comment_perm_menu() {
$items = array();
$items['admin/config/system/comment_perm'] = array(
'title' => 'Comment permissions',
'description' => 'Setup comment permissions by user role and by node type.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'comment_perm_admin_settings',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'comment_perm.admin.inc',
);
return $items;
}