public function ShortAnswerResponse::getReportFormValidate in Quiz 8.4
Implementation of getReportFormValidate
Overrides QuizQuestionResponse::getReportFormValidate
See also
QuizQuestionResponse#getReportFormValidate($showfeedback, $showpoints, $allow_scoring)
File
- question_types/
short_answer/ lib/ Drupal/ short_answer/ ShortAnswerResponse.php, line 291 - The main classes for the short answer response.
Class
- ShortAnswerResponse
- Extension of QuizQuestionResponse
Namespace
Drupal\short_answerCode
public function getReportFormValidate($showfeedback = TRUE, $showpoints = TRUE, $allow_scoring = FALSE) {
if (quiz_access_to_score() && $allow_scoring) {
return $allow_scoring ? 'short_answer_report_validate' : FALSE;
}
return FALSE;
}