public function ChoiceQuestion::getAdminForm in Quiz 6.6
Implementation of getAdminForm
(non-PHPdoc)
Overrides QuizQuestion::getAdminForm
See also
sites/all/modules/quiz-HEAD/question_types/quiz_question/QuizQuestion#getAdminForm()
File
- question_types/
choice/ choice.classes.inc, line 324 - The main classes for the choice question type.
Class
- ChoiceQuestion
- Implementation of QuizQuestion.
Code
public function getAdminForm($edit = NULL) {
$form['choice_max_num_of_alts'] = array(
'#type' => 'textfield',
'#title' => t('Maximum number of alternatives allowed'),
'#default_value' => variable_get('choice_max_num_of_alts', 2),
);
return system_settings_form($form);
}