function email_registration_form_user_pass_alter in Email Registration 6
Same name and namespace in other branches
- 8 email_registration.module \email_registration_form_user_pass_alter()
- 7 email_registration.module \email_registration_form_user_pass_alter()
Implementation of hook_form_FORMID_alter().
File
- ./
email_registration.module, line 120 - For registration process without a username
Code
function email_registration_form_user_pass_alter(&$form, $form_state) {
$form['name']['#title'] = t('E-mail');
$form['name']['#description'] = t('A password reset message will be sent to your e-mail address.');
}