public function LongAnswerQuestion::view in Quiz 6.3
Same name and namespace in other branches
- 6.6 question_types/long_answer/long_answer.classes.inc \LongAnswerQuestion::view()
- 6.5 question_types/long_answer/long_answer.classes.inc \LongAnswerQuestion::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/
long_answer/ long_answer.classes.inc, line 61 - Long answer classes.
Class
- LongAnswerQuestion
- Implementation of QuizQuestion.
Code
public function view() {
return $this
->getQuestionForm($this->node);
}