function short_answer_theme in Quiz 8.4
Same name and namespace in other branches
- 8.6 question_types/quiz_short_answer/quiz_short_answer.module \short_answer_theme()
- 8.5 question_types/quiz_short_answer/quiz_short_answer.module \short_answer_theme()
- 6.6 question_types/short_answer/short_answer.module \short_answer_theme()
- 6.3 question_types/short_answer/short_answer.module \short_answer_theme()
- 6.4 question_types/short_answer/short_answer.module \short_answer_theme()
- 6.5 question_types/short_answer/short_answer.module \short_answer_theme()
- 7.6 question_types/short_answer/short_answer.module \short_answer_theme()
- 7 question_types/short_answer/short_answer.module \short_answer_theme()
- 7.4 question_types/short_answer/short_answer.module \short_answer_theme()
- 7.5 question_types/short_answer/short_answer.module \short_answer_theme()
Implements hook_theme().
File
- question_types/
short_answer/ short_answer.module, line 107 - The main file for short_answer.
Code
function short_answer_theme($existing, $type, $theme, $path) {
$module_path = drupal_get_path('module', 'short_answer');
return array(
'short_answer_view_unscored' => array(
'variables' => array(
'unscored' => array(),
),
'file' => 'short_answer.theme.inc',
),
'short_answer_response_form' => array(
'render element' => 'form',
'file' => 'short_answer.theme.inc',
),
'short_answer_user_answer' => array(
'variables' => array(
'answer' => NULL,
'correct' => NULL,
),
'file' => 'short_answer.theme.inc',
),
);
}