function secure_permissions_menu in Secure Permissions 7
Same name and namespace in other branches
- 6 secure_permissions.module \secure_permissions_menu()
- 7.2 secure_permissions.module \secure_permissions_menu()
Implements hook_menu().
File
- ./
secure_permissions.module, line 50 - Secure Permissions module file.
Code
function secure_permissions_menu() {
$items = array();
$items['admin/config/people/secure_permissions'] = array(
'title' => 'Secure permissions',
'description' => 'Configuration for the secure permissions module.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'secure_permissions_form',
),
'access arguments' => array(
'export secure permissions',
),
);
$items['admin/config/people/secure_permissions/view'] = array(
'title' => 'Secure permissions',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/people/secure_permissions/export'] = array(
'title' => 'Export permissions',
'description' => 'Export site permissions for use by Secure Permissions.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'secure_permissions_export',
),
'access arguments' => array(
'export secure permissions',
),
'type' => MENU_LOCAL_TASK,
'weight' => 5,
);
return $items;
}