function matching_admin_settings_form in Quiz 6.5
Same name and namespace in other branches
- 6.3 question_types/matching/matching.module \matching_admin_settings_form()
Admin settings form.
1 string reference to 'matching_admin_settings_form'
- matching_menu in question_types/
matching/ matching.module - Implementation of hook_menu().
File
- question_types/
matching/ matching.module, line 105 - Matching question type for quiz module
Code
function matching_admin_settings_form() {
$form['quiz_matching_form_size'] = array(
'#type' => 'textfield',
'#title' => t('Default Number of Answers'),
'#default_value' => variable_get('quiz_matching_form_size', 5),
'#description' => t('The default number of answers to display when creating a question. CHOOSING A LESSER VALUE WILL BREAK ALREADY CREATED QUESTIONS.'),
'#required' => TRUE,
);
return system_settings_form($form);
}