You are here

public function QuizDirectionsResponse::getResponse in Quiz 6.x

Same name and namespace in other branches
  1. 8.6 question_types/quiz_directions/src/Plugin/quiz/QuizQuestion/QuizDirectionsResponse.php \Drupal\quiz_directions\Plugin\quiz\QuizQuestion\QuizDirectionsResponse::getResponse()
  2. 8.5 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 QuizAnswerInterface::getResponse

File

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

Class

QuizDirectionsResponse
Extension of QuizQuestionResponse.

Namespace

Drupal\quiz_directions\Plugin\quiz\QuizQuestion

Code

public function getResponse() {
  return TRUE;
}