You are here

function select_registration_roles_menu in Select registration roles 7

Implements hook_menu().

File

./select_registration_roles.module, line 23
Admin can select roles that will be display on registration form.

Code

function select_registration_roles_menu() {
  $items['admin/people/select-registration-roles-setby-admin'] = array(
    'title' => 'Registration Role Set By Admin',
    'description' => 'Configure Registration Role.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'select_registration_roles_admin_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_ACTION,
  );
  return $items;
}