public function MatchingQuestion::validateNode in Quiz 8.4
Implementation of validateNode
Overrides QuizQuestion::validateNode
See also
QuizQuestion#validateNode($form_state)
File
- question_types/
matching/ lib/ Drupal/ matching/ MatchingQuestion.php, line 104 - The main classes for the matching question type.
Class
- MatchingQuestion
- Extension of QuizQuestion.
Namespace
Drupal\matchingCode
public function validateNode(array &$form_state) {
// No validation is required
// The first two pairs are required in the form, if there are other errors we forgive them
}