function commentaccess_menu in Comment Access 7
Implementation of hook_menu().
File
- ./
commentaccess.module, line 26 - Provides users with permissions for comments on nodes they own.
Code
function commentaccess_menu() {
$items = array();
$items['admin/config/content/commentaccess'] = array(
'title' => 'Comment access',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'commentaccess_admin_settings',
),
'file' => 'commentaccess.admin.inc',
'type' => MENU_LOCAL_TASK,
'access arguments' => array(
'administer comments',
),
'weight' => 20,
);
return $items;
}