public function ShortAnswerQuestion::getAdminForm in Quiz 6.6
Same name and namespace in other branches
- 6.3 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getAdminForm()
- 6.5 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::getAdminForm()
Get the form that contains admin settings for this question type.
Return value
Must return a FAPI array.
Overrides QuizQuestion::getAdminForm
File
- question_types/
short_answer/ short_answer.classes.inc, line 123 - The main classes for the short answer question type.
Class
- ShortAnswerQuestion
- Implementation of QuizQuestion.
Code
public function getAdminForm($edit = NULL) {
/*
$form['short_answer_allow_regex'] = array(
'#type' => 'checkbox',
'#title' => t('Allow regular expression matching'),
'#description' => t('If this is checked, quiz creators can use regular expressions for matching criteria.'),
'#default_value' => variable_get('short_answer_allow_regex', TRUE),
);
return $form;
*/
$form['empty'] = array(
'#type' => 'markup',
'#value' => t('There are currently no available configuration options.'),
);
}