You are here

public function TrueFalseQuestion::getAdminForm in Quiz 6.6

Same name and namespace in other branches
  1. 6.3 question_types/quiz_question/quiz_question.truefalse.inc \TrueFalseQuestion::getAdminForm()
  2. 6.5 question_types/quiz_question/quiz_question.truefalse.inc \TrueFalseQuestion::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/truefalse/truefalse.classes.inc, line 100
Defines the classes necessary for a True/False quiz.

Class

TrueFalseQuestion
Implementation of QuizQuestion.

Code

public function getAdminForm($edit = NULL) {
  $form['settings'] = array(
    '#type' => 'markup',
    '#value' => t('There are no settings for this question type.'),
  );
  return $form;
}