function config_perms_menu in Custom Permissions 7.2
Same name and namespace in other branches
- 6.2 config_perms.module \config_perms_menu()
Implements hook_menu().
File
- ./
config_perms.module, line 101 - Allows additional permissions to be created and managed through a administration form
Code
function config_perms_menu() {
$items = array();
$items['admin/people/custom_permissions'] = array(
'title' => 'Custom Permissions',
'description' => 'Allows additional permissions to be created and managed through a administration form',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'config_perms_admin_form',
),
'access arguments' => array(
'administer custom permissions',
),
'file' => 'config_perms.admin.inc',
'weight' => 1,
'type' => MENU_LOCAL_TASK,
);
return $items;
}