function multichoice_theme in Quiz 8.4
Same name and namespace in other branches
- 8.6 question_types/quiz_multichoice/quiz_multichoice.module \multichoice_theme()
- 8.5 question_types/quiz_multichoice/quiz_multichoice.module \multichoice_theme()
- 6.6 question_types/multichoice/multichoice.module \multichoice_theme()
- 6.2 multichoice.module \multichoice_theme()
- 6.3 question_types/multichoice/multichoice.module \multichoice_theme()
- 6.4 question_types/multichoice/multichoice.module \multichoice_theme()
- 6.5 question_types/multichoice/multichoice.module \multichoice_theme()
- 7.6 question_types/multichoice/multichoice.module \multichoice_theme()
- 7 question_types/multichoice/multichoice.module \multichoice_theme()
- 7.4 question_types/multichoice/multichoice.module \multichoice_theme()
- 7.5 question_types/multichoice/multichoice.module \multichoice_theme()
Implements hook_theme().
File
- question_types/
multichoice/ multichoice.module, line 101 - The main file for multichoice.
Code
function multichoice_theme($existing, $type, $theme, $path) {
return array(
'multichoice_creation_form' => array(
'render element' => 'form',
'file' => 'multichoice.theme.inc',
),
'multichoice_answer_node_view' => array(
'variables' => array(
'alternatives' => NULL,
'show_correct' => NULL,
),
'file' => 'multichoice.theme.inc',
),
'multichoice_response' => array(
'variables' => array(
'data' => array(),
),
'file' => 'multichoice.theme.inc',
),
'multichoice_alternative_creation' => array(
'render element' => 'form',
'file' => 'multichoice.theme.inc',
),
'multichoice_answering_form' => array(
'render element' => 'form',
'file' => 'multichoice.theme.inc',
),
'multichoice_alternative' => array(
'render element' => 'form',
'file' => 'multichoice.theme.inc',
),
);
}