function rb_user_action_provide_username_form in Rules Bonus Pack 6
Configuration form for 'rb_user_action_provide_username'.
File
- ./
rb_user.module, line 196 - Functions for extending user management with Rules.
Code
function rb_user_action_provide_username_form($settings, &$form) {
$form['settings']['potential_name'] = array(
'#type' => 'textfield',
'#title' => 'Potential user name',
'#description' => t('The string will be changed to validate Drupal\'s user
name rules, and if necessary appended with a number to avoid user name
conflicts.'),
'#default_value' => $settings['potential_name'],
);
}