You are here

function QuizPagesQuestion::getAnsweringForm in Quiz 7.6

Same name and namespace in other branches
  1. 7.5 question_types/quiz_page/quiz_page.classes.inc \QuizPagesQuestion::getAnsweringForm()

Get the form through which the user will answer the question.

Parameters

$form_state: The FAPI form_state array

$result_id: The result id.

Return value

Must return a FAPI array.

Overrides QuizQuestion::getAnsweringForm

File

question_types/quiz_page/quiz_page.classes.inc, line 62
quiz_page.classes.inc Support class for Quiz pages.

Class

QuizPagesQuestion
Extension of QuizQuestion.

Code

function getAnsweringForm(array $form_state = NULL, $result_id) {
  $element = array(
    '#type' => 'hidden',
  );
  return $element;
}