You are here

public function MatchingQuestion::validate in Quiz 6.3

Same name and namespace in other branches
  1. 6.6 question_types/matching/matching.classes.inc \MatchingQuestion::validate()
  2. 6.5 question_types/matching/matching.classes.inc \MatchingQuestion::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/matching/matching.classes.inc, line 56
quiz_directions.classes

Class

MatchingQuestion
Implementation of Matching.

Code

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

  // This space intentionally left blank. :)
}