You are here

function cas_roles_menu in CAS roles 6

Same name and namespace in other branches
  1. 8 cas_roles.module \cas_roles_menu()
  2. 7.2 cas_roles.module \cas_roles_menu()
  3. 7 cas_roles.module \cas_roles_menu()

Implements hook_menu().

File

./cas_roles.module, line 31
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/user/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;
}