You are here

function short_answer_theme in Quiz 6.5

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

Implementation of hook_theme().

File

question_types/short_answer/short_answer.module, line 76
The main file for short_answer.

Code

function short_answer_theme() {
  return array(
    'short_answer_report' => array(
      'arguments' => array(
        'question' => NULL,
        'show_points' => NULL,
        'show_feedback' => NULL,
      ),
      'file' => 'short_answer.theme.inc',
    ),
    'short_answer_feedback' => array(
      'arguments' => array(
        'quiz' => NULL,
        'report' => NULL,
      ),
      'file' => 'short_answer.theme.inc',
    ),
    'short_answer_view_unscored' => array(
      'arguments' => array(
        'unscored' => array(),
      ),
      'file' => 'short_answer.admin.inc',
    ),
  );
}