You are here

public function TrueFalseQuestion::validate in Quiz 6.6

Same name and namespace in other branches
  1. 6.3 question_types/quiz_question/quiz_question.truefalse.inc \TrueFalseQuestion::validate()
  2. 6.5 question_types/quiz_question/quiz_question.truefalse.inc \TrueFalseQuestion::validate()

Provides validation for question before it is created.

When a new question is created and initially submited, this is called to validate that the settings are acceptible.

Parameters

$node: The node storing the question.

$form: The processed form.

Overrides QuizQuestion::validate

File

question_types/truefalse/truefalse.classes.inc, line 43
Defines the classes necessary for a True/False quiz.

Class

TrueFalseQuestion
Implementation of QuizQuestion.

Code

public function validate($node, &$form) {

  // This space intentionally left blank. :)
}