You are here

function autologout_menu in Automated Logout 6

Same name and namespace in other branches
  1. 5 autologout.module \autologout_menu()
  2. 6.4 autologout.module \autologout_menu()
  3. 6.2 autologout.module \autologout_menu()
  4. 6.3 autologout.module \autologout_menu()
  5. 7.2 autologout.module \autologout_menu()
  6. 7.4 autologout.module \autologout_menu()

Implementation of hook_menu().

File

./autologout.module, line 321
Used to automagically log out a user after a preset time, AjK May 2006

Code

function autologout_menu() {
  $items['admin/settings/autologout'] = array(
    'title' => t('Automated logout'),
    'description' => t('Manage the Automated Logout features'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      '_autologout_settings',
    ),
    'access arguments' => array(
      'administer autologout',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}