You are here

function auto_username_menu in Automatic User Names 6

Same name and namespace in other branches
  1. 5 auto_username.module \auto_username_menu()
  2. 7 auto_username.module \auto_username_menu()

Implementation of hook_menu().

File

./auto_username.module, line 18

Code

function auto_username_menu() {
  $items = array();
  $items['admin/user/auto-username'] = array(
    'title' => 'Username rules',
    'description' => 'Configure the way that usernames are automatically generated.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'auto_username_configuration',
    ),
    'access arguments' => array(
      'configure username patterns',
    ),
  );
  return $items;
}