function auto_username_menu in Automatic User Names 7
Same name and namespace in other branches
- 5 auto_username.module \auto_username_menu()
- 6 auto_username.module \auto_username_menu()
Implements hook_menu().
File
- ./
auto_username.module, line 26 - Allows a user's username to be assigned based on tokens.
Code
function auto_username_menu() {
$items['admin/config/people/accounts/patterns'] = array(
'title' => 'Patterns',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'auto_username_settings_form',
),
'access arguments' => array(
'administer auto username',
),
'type' => MENU_LOCAL_TASK,
'file' => 'auto_username.admin.inc',
);
return $items;
}