You are here

public function ScaleResponse::getFeedbackValues in Quiz 8.6

Same name and namespace in other branches
  1. 8.5 question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleResponse.php \ScaleResponse::getFeedbackValues()
  2. 7.6 question_types/scale/scale.classes.inc \ScaleResponse::getFeedbackValues()
  3. 7.5 question_types/scale/scale.classes.inc \ScaleResponse::getFeedbackValues()

Implementation of getFeedbackValues().

See also

QuizQuestionResponse::getFeedbackValues()

File

question_types/quiz_scale/src/Plugin/quiz/QuizQuestion/ScaleResponse.php, line 85

Class

ScaleResponse
Extension of QuizQuestionResponse.

Code

public function getFeedbackValues() {
  $data = array();
  $data[] = array(
    'choice' => $this->answer,
  );
  return $data;
}