function short_answer_theme in Quiz 6.4
Same name and namespace in other branches
- 8.6 question_types/quiz_short_answer/quiz_short_answer.module \short_answer_theme()
- 8.4 question_types/short_answer/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.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()
Implementation of hook_theme().
File
- question_types/
short_answer/ short_answer.module, line 91 - The main file for short_answer.
Code
function short_answer_theme() {
return array(
'short_answer_view_unscored' => array(
'arguments' => array(
'unscored' => array(),
),
'path' => drupal_get_path('module', 'short_answer') . '/theme',
'file' => 'short_answer.theme.inc',
),
'short_answer_response_form' => array(
'arguments' => array(
'form' => NULL,
),
'path' => drupal_get_path('module', 'short_answer') . '/theme',
'file' => 'short_answer.theme.inc',
),
'short_answer_user_answer' => array(
'arguments' => array(
'answer' => NULL,
'correct' => NULL,
),
'path' => drupal_get_path('module', 'short_answer') . '/theme',
'file' => 'short_answer.theme.inc',
),
'short_answer_answering_form' => array(
'arguments' => array(
'form' => NULL,
),
'path' => drupal_get_path('module', 'short_answer') . '/theme',
'template' => 'short-answer-answering-form',
),
);
}