public function ClozeResponse::getReportFormScore in Quiz 8.4
Implementation of getReportFormScore()
Overrides QuizQuestionResponse::getReportFormScore
See also
QuizQuestionResponse#getReportFormScore($showpoints, $showfeedback, $allow_scoring)
File
- question_types/
cloze/ lib/ Drupal/ cloze/ ClozeResponse.php, line 182
Class
- ClozeResponse
- Extension of QuizQuestionResponse
Namespace
Drupal\clozeCode
public function getReportFormScore($showfeedback = TRUE, $showpoints = TRUE, $allow_scoring = FALSE) {
return array(
'#markup' => $this
->getScore(),
);
}