function cas_roles_menu in CAS roles 7.2
Same name and namespace in other branches
- 8 cas_roles.module \cas_roles_menu()
- 6 cas_roles.module \cas_roles_menu()
- 7 cas_roles.module \cas_roles_menu()
Implements hook_menu().
File
- ./
cas_roles.module, line 13 - Allows user account and profile attributes to be automatically populated using tokens. Provides basic tokens for attributes returned by the CAS server.
Code
function cas_roles_menu() {
$items = array();
$items['admin/config/people/cas/roles'] = array(
'title' => 'Roles',
'description' => 'Settings for CAS roles.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cas_roles_admin_settings',
),
'access arguments' => array(
'administer cas',
),
'file' => 'cas_roles.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => -7,
);
return $items;
}