You are here

public function QuizQuestionResponse::saveResult in Quiz 8.4

Saves the quiz result. This is not used when a question is skipped!

File

question_types/quiz_question/lib/Drupal/quiz_question/QuizQuestionResponse.php, line 320

Class

QuizQuestionResponse

Namespace

Drupal\quiz_question

Code

public function saveResult() {
  $this->is_skipped = FALSE;
  $this
    ->save();
}