I'm creating a custom question type. When I'm handling validation from the creation form I only have access to $form. Could we have the optional form_state parameter incorporated and passed to the QuizQuestion classes validateNode method?

http://cgit.drupalcode.org/quiz/tree/question_types/quiz_question/quiz_q...

function quiz_question_validate($node, &$form) {
  _quiz_question_get_instance($node)->validateNode($form);
}

changed to something like

function quiz_question_validate($node, &$form, &$form_state) {
  _quiz_question_get_instance($node)->validateNode($form, $form_state);
}

Comments

mcroyle created an issue.