public function ScaleResponse::getReportFormResponse in Quiz 8.4
Implementation of getReportFormResponse
Overrides QuizQuestionResponse::getReportFormResponse
See also
getReportFormResponse($showpoints, $showfeedback, $allow_scoring)
File
- question_types/
scale/ lib/ Drupal/ scale/ ScaleResponse.php, line 102 - The main classes for the short answer response.
Class
- ScaleResponse
- Extension of QuizQuestionResponse
Namespace
Drupal\scaleCode
public function getReportFormResponse($showpoints = TRUE, $showfeedback = TRUE, $allow_scoring = FALSE) {
$form = array();
$form['#theme'] = 'scale_response_form';
$form['answer'] = array(
'#markup' => check_plain($this->answer),
);
return $form;
}