function noreqnewpass_admin_form in No Request New Password 7.2
Same name and namespace in other branches
- 5 noreqnewpass.module \noreqnewpass_admin_form()
- 6 noreqnewpass.module \noreqnewpass_admin_form()
- 7 noreqnewpass.module \noreqnewpass_admin_form()
FAPI definitions for administration form
1 string reference to 'noreqnewpass_admin_form'
- noreqnewpass_menu in ./
noreqnewpass.module - Implementation of hook_menu().
File
- ./
noreqnewpass.module, line 82
Code
function noreqnewpass_admin_form() {
$form = array();
$form['noreqnewpass_disabled'] = array(
'#title' => t('Disable Request new password link'),
'#type' => 'checkbox',
'#default_value' => variable_get('noreqnewpass_disabled', true),
'#description' => t('If checked, Request new password link will be disabled.'),
);
return system_settings_form($form);
}