function truefalse_theme in Quiz 7.6
Same name and namespace in other branches
- 8.4 question_types/truefalse/truefalse.module \truefalse_theme()
- 6.6 question_types/truefalse/truefalse.module \truefalse_theme()
- 6.4 question_types/truefalse/truefalse.module \truefalse_theme()
- 7 question_types/truefalse/truefalse.module \truefalse_theme()
- 7.4 question_types/truefalse/truefalse.module \truefalse_theme()
- 7.5 question_types/truefalse/truefalse.module \truefalse_theme()
Implements hook_theme().
File
- question_types/
truefalse/ truefalse.module, line 51 - TrueFalse question type for quiz module
Code
function truefalse_theme() {
return array(
'truefalse_answering_form' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'truefalse') . '/theme',
'template' => 'truefalse-answering-form',
),
'truefalse_response' => array(
'variables' => array(
'metadata' => array(),
'data' => array(),
),
),
);
}