function course_signup_confirmation_form in Course 7.2
Code form.
2 string references to 'course_signup_confirmation_form'
- CourseObjectSignup::take in modules/
course_signup/ course_signup.classes.inc - Course object entry point for taking. This method should return a value corresponding to the type set in getTakeType().
- course_signup_menu in modules/
course_signup/ course_signup.module - Implements hook_menu().
File
- modules/
course_signup/ course_signup.module, line 453
Code
function course_signup_confirmation_form($form, &$form_state) {
$form['code'] = [
'#title' => t('Code'),
'#type' => 'textfield',
'#maxlength' => 16,
'#size' => 16,
'#description' => t('You must enter an attendance code to continue.'),
];
$form['submit'] = [
'#type' => 'submit',
'#value' => t('Submit'),
];
return $form;
}