You are here

function email_registration_admin in Email Registration 5

The administration form

1 string reference to 'email_registration_admin'
email_registration_menu in ./email_registration.module
Implementation of hook_menu().

File

./email_registration.module, line 125

Code

function email_registration_admin() {
  $form['eq_email'] = array(
    '#type' => 'checkbox',
    '#title' => t('Make username equal to email'),
    '#description' => t("If This is checked, then the username field in the database will be the same as the user\ns email address. Otherwise, email_registration module will use its default username generation settings."),
    '#default_value' => variable_get('email_registration_eq_email', FALSE),
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Submit'),
    '#weight' => 10,
  );
  return $form;
}