You are here

function inactive_user_menu in Inactive User 5

Same name and namespace in other branches
  1. 6 inactive_user.module \inactive_user_menu()
  2. 7 inactive_user.module \inactive_user_menu()

Implementation of hook_menu

File

./inactive_user.module, line 24

Code

function inactive_user_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/user/inactive-user',
      'title' => t('Inactive users'),
      'description' => t('Configure notifications to and removal of inactive users.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => 'inactive_user_custom_settings',
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}