You are here

function userone_menu in User One 7

Same name and namespace in other branches
  1. 6 userone.module \userone_menu()

Implements hook_menu().

File

./userone.module, line 73
User One module.

Code

function userone_menu() {
  global $user;
  $items = array();
  $items['admin/config/people/userone'] = array(
    'title' => 'User One',
    'description' => 'Configure User One settings to better protect site admin account.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'userone_admin_settings',
    ),
    'access callback' => 'userone_admin_access',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}