function bakery_pull_form in Bakery Single Sign-On System 7.3
Same name and namespace in other branches
- 6.2 bakery.module \bakery_pull_form()
- 7.2 bakery.module \bakery_pull_form()
Form for admins to pull accounts.
1 string reference to 'bakery_pull_form'
- bakery_menu in ./
bakery.module - Implements hook_menu().
File
- ./
bakery.pages.inc, line 109
Code
function bakery_pull_form($form, &$form_state) {
$form['or_email'] = array(
'#type' => 'radios',
'#options' => array(
0 => t('Username'),
1 => t('Username or email'),
),
'#default_value' => 0,
);
$form['name'] = array(
'#type' => 'textfield',
'#required' => TRUE,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Request account'),
);
return $form;
}