You are here

function theme_quiz_single_question_node in Quiz 8.4

Same name and namespace in other branches
  1. 6.6 quiz.pages.inc \theme_quiz_single_question_node()
  2. 6.3 quiz.pages.inc \theme_quiz_single_question_node()
  3. 6.4 quiz.pages.inc \theme_quiz_single_question_node()
  4. 6.5 quiz.pages.inc \theme_quiz_single_question_node()
  5. 7 quiz.pages.inc \theme_quiz_single_question_node()
  6. 7.4 quiz.pages.inc \theme_quiz_single_question_node()

Theme the single question node

Parameters

$node: The question node

Return value

Themed html feedback

1 theme call to theme_quiz_single_question_node()
quiz_take_question_view in ./quiz.module
Create the view for a question the user is about to take.

File

./quiz.pages.inc, line 1203
Page callback file for the quiz module.

Code

function theme_quiz_single_question_node($variables) {
  $content = $variables['content'];

  // This might seem meaningless, but it is designed this way to allow themes to add more
  // meaningful stuff here...
  return drupal_render($content['body']);
}