You are here

public function QuizAnswerInterface::getResponse in Quiz 6.x

Get the user's response.

Return value

mixed The answer given by the user

8 methods override QuizAnswerInterface::getResponse()
LongAnswerResponse::getResponse in question_types/quiz_long_answer/src/Plugin/quiz/QuizQuestion/LongAnswerResponse.php
Get the user's response.
MatchingResponse::getResponse in question_types/quiz_matching/src/Plugin/quiz/QuizQuestion/MatchingResponse.php
Implementation of getResponse().
MultichoiceResponse::getResponse in question_types/quiz_multichoice/src/Plugin/quiz/QuizQuestion/MultichoiceResponse.php
Get the user's response.
QuizDirectionsResponse::getResponse in question_types/quiz_directions/src/Plugin/quiz/QuizQuestion/QuizDirectionsResponse.php
Get the user's response.
QuizPageResponse::getResponse in question_types/quiz_page/src/Plugin/quiz/QuizQuestion/QuizPageResponse.php
Get the user's response.

... See full list

File

src/QuizAnswerInterface.php, line 118

Class

QuizAnswerInterface
Provides an interface for quiz answers.

Namespace

Drupal\quiz

Code

public function getResponse();