function theme_quiz_single_question_node in Quiz 7
Same name and namespace in other branches
- 8.4 quiz.pages.inc \theme_quiz_single_question_node()
- 6.6 quiz.pages.inc \theme_quiz_single_question_node()
- 6.3 quiz.pages.inc \theme_quiz_single_question_node()
- 6.4 quiz.pages.inc \theme_quiz_single_question_node()
- 6.5 quiz.pages.inc \theme_quiz_single_question_node()
- 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 613 - User pages.
Code
function theme_quiz_single_question_node($variables) {
$node = $variables['question_node'];
// This might seem meaningless, but it is designed this way to allow themes to add more
// meaningful stuff here...
return drupal_render($node->body) . drupal_render($node->content['body']);
}