You are here

public function LongAnswerQuestion::getAdminForm in Quiz 6.3

Same name and namespace in other branches
  1. 6.6 question_types/long_answer/long_answer.classes.inc \LongAnswerQuestion::getAdminForm()
  2. 6.5 question_types/long_answer/long_answer.classes.inc \LongAnswerQuestion::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/long_answer/long_answer.classes.inc, line 83
Long answer classes.

Class

LongAnswerQuestion
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;
}