public function ShortAnswerQuestion::view in Quiz 6.3
Same name and namespace in other branches
- 6.6 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::view()
- 6.5 question_types/short_answer/short_answer.classes.inc \ShortAnswerQuestion::view()
Retrieve information relevant for viewing the node. This data is generally added to the node's extra field.
Overrides QuizQuestion::view
File
- question_types/
short_answer/ short_answer.classes.inc, line 89 - The main classes for the short answer question type.
Class
- ShortAnswerQuestion
- Implementation of QuizQuestion.
Code
public function view() {
return $this
->getQuestionForm($this->node);
}