function multichoice_admin_settings_form in Quiz 6.2
Same name and namespace in other branches
- 5.2 multichoice.module \multichoice_admin_settings_form()
- 6.6 question_types/multichoice/multichoice.module \multichoice_admin_settings_form()
- 6.3 question_types/multichoice/multichoice.module \multichoice_admin_settings_form()
- 6.5 question_types/multichoice/multichoice.module \multichoice_admin_settings_form()
Admin settings form.
1 string reference to 'multichoice_admin_settings_form'
- multichoice_menu in ./
multichoice.module - Implementation of hook_menu().
File
- ./
multichoice.module, line 80 - Multiple choice question type for the Quiz module.
Code
function multichoice_admin_settings_form() {
$form['multichoice_default_answers'] = array(
'#type' => 'textfield',
'#title' => t('Default Number of Answers'),
'#default_value' => variable_get('multichoice_default_answers', 5),
'#description' => t('The default number of answers to display when creating a question.'),
'#required' => TRUE,
);
return system_settings_form($form);
}