You are here

public function QuizQuestionResponse::getReportFormValidate in Quiz 8.4

Get the validate function for the reportForm

Return value

Validate function as a string, or FALSE if no validate function

1 call to QuizQuestionResponse::getReportFormValidate()
QuizQuestionResponse::getReportForm in question_types/quiz_question/lib/Drupal/quiz_question/QuizQuestionResponse.php
Creates the report form for the admin pages, and for when a user gets feedback after answering questions.
2 methods override QuizQuestionResponse::getReportFormValidate()
LongAnswerResponse::getReportFormValidate in question_types/long_answer/lib/Drupal/long_answer/LongAnswerResponse.php
Implementation of getReportFormValidate
ShortAnswerResponse::getReportFormValidate in question_types/short_answer/lib/Drupal/short_answer/ShortAnswerResponse.php
Implementation of getReportFormValidate

File

question_types/quiz_question/lib/Drupal/quiz_question/QuizQuestionResponse.php, line 303

Class

QuizQuestionResponse

Namespace

Drupal\quiz_question

Code

public function getReportFormValidate($showfeedback = TRUE, $showpoints = TRUE, $allow_scoring = FALSE) {
  return FALSE;
}