You are here

public function QuizQuestionResponse::refreshQuestionNode in Quiz 8.4

Used to refresh this instances question node in case drupal has changed it.

Parameters

$newNode: Question node

File

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

Class

QuizQuestionResponse

Namespace

Drupal\quiz_question

Code

public function refreshQuestionNode($newNode) {
  $this->question = $newNode;
}