You are here

public function QuizDirectionsResponse::getResponse in Quiz 8.6

Same name and namespace in other branches
  1. 8.5 question_types/quiz_directions/src/Plugin/quiz/QuizQuestion/QuizDirectionsResponse.php \Drupal\quiz_directions\Plugin\quiz\QuizQuestion\QuizDirectionsResponse::getResponse()
  2. 6.x question_types/quiz_directions/src/Plugin/quiz/QuizQuestion/QuizDirectionsResponse.php \Drupal\quiz_directions\Plugin\quiz\QuizQuestion\QuizDirectionsResponse::getResponse()

Get the user's response.

Return value

mixed The answer given by the user

Overrides QuizResultAnswerEntityTrait::getResponse

File

question_types/quiz_directions/src/Plugin/quiz/QuizQuestion/QuizDirectionsResponse.php, line 33

Class

QuizDirectionsResponse
Extension of QuizQuestionResponse.

Namespace

Drupal\quiz_directions\Plugin\quiz\QuizQuestion

Code

public function getResponse() {
  return TRUE;
}