You are here

function long_answer_theme in Quiz 6.5

Same name and namespace in other branches
  1. 8.6 question_types/quiz_long_answer/quiz_long_answer.module \long_answer_theme()
  2. 8.4 question_types/long_answer/long_answer.module \long_answer_theme()
  3. 8.5 question_types/quiz_long_answer/quiz_long_answer.module \long_answer_theme()
  4. 6.6 question_types/long_answer/long_answer.module \long_answer_theme()
  5. 6.3 question_types/long_answer/long_answer.module \long_answer_theme()
  6. 6.4 question_types/long_answer/long_answer.module \long_answer_theme()
  7. 7.6 question_types/long_answer/long_answer.module \long_answer_theme()
  8. 7 question_types/long_answer/long_answer.module \long_answer_theme()
  9. 7.4 question_types/long_answer/long_answer.module \long_answer_theme()
  10. 7.5 question_types/long_answer/long_answer.module \long_answer_theme()

Implementation of hook_theme().

File

question_types/long_answer/long_answer.module, line 92
This module defines a long answer question type for quizzes.

Code

function long_answer_theme() {
  return array(
    'long_answer_report' => array(
      'arguments' => array(
        'question' => NULL,
        'show_points' => NULL,
        'show_feedback' => NULL,
      ),
      'file' => 'long_answer.theme.inc',
    ),
    'long_answer_feedback' => array(
      'arguments' => array(
        'quiz' => NULL,
        'report' => NULL,
      ),
      'file' => 'long_answer.theme.inc',
    ),
    'long_answer_view_unscored' => array(
      'arguments' => array(
        'unscored' => array(),
      ),
      'file' => 'long_answer.admin.inc',
    ),
  );
}