You are here

function login_destination_menu in Login Destination 6

Same name and namespace in other branches
  1. 5 login_destination.module \login_destination_menu()
  2. 6.2 login_destination.module \login_destination_menu()
  3. 7 login_destination.module \login_destination_menu()

Implementation of hook_menu().

File

./login_destination.module, line 25

Code

function login_destination_menu() {
  $items['admin/user/login_destination'] = array(
    'title' => 'Login Destination',
    'description' => 'Control where users are directed to once they login.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'login_destination_admin_settings',
    ),
    'access arguments' => array(
      LOGIN_DEST_PERM_ADMIN,
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}