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