You are here

function quiz_question_view in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 question_types/quiz_question/quiz_question.module \quiz_question_view()
  2. 6.3 question_types/quiz_question/quiz_question.module \quiz_question_view()
  3. 6.4 question_types/quiz_question/quiz_question.module \quiz_question_view()
  4. 7.6 question_types/quiz_question/quiz_question.module \quiz_question_view()
  5. 7 question_types/quiz_question/quiz_question.module \quiz_question_view()
  6. 7.4 question_types/quiz_question/quiz_question.module \quiz_question_view()

Implementation of hook_view()

File

question_types/quiz_question/quiz_question.module, line 394
Quiz Question module. This module provides the basic facilities for adding quiz question types to a quiz. While you can create standard Quiz question types simply by implementing the appropriate hooks, this module provides a framework that makes…

Code

function quiz_question_view($node, $teaser = FALSE, $page = FALSE) {
  $node->content['body']['#value'] = drupal_get_form('quiz_question_question_form', $node);
  return $node;
}