function registration_role_menu in Registration role 7
Same name and namespace in other branches
- 5 registration_role.module \registration_role_menu()
- 6 registration_role.module \registration_role_menu()
Implements hook_menu().
File
- ./
registration_role.module, line 33 - The main registration_role.module file
Code
function registration_role_menu() {
$items = array();
$items['admin/config/people/registration_role'] = array(
'title' => 'Registration role',
'description' => 'Auto-assign a role upon registration.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'registration_role_admin_settings',
),
'access arguments' => array(
'administer users',
),
);
return $items;
}