function matching_theme in Quiz 7
Same name and namespace in other branches
- 8.6 question_types/quiz_matching/quiz_matching.module \matching_theme()
- 8.4 question_types/matching/matching.module \matching_theme()
- 8.5 question_types/quiz_matching/quiz_matching.module \matching_theme()
- 6.6 question_types/matching/matching.module \matching_theme()
- 6.3 question_types/matching/matching.module \matching_theme()
- 6.4 question_types/matching/matching.module \matching_theme()
- 6.5 question_types/matching/matching.module \matching_theme()
- 7.6 question_types/matching/matching.module \matching_theme()
- 7.4 question_types/matching/matching.module \matching_theme()
- 7.5 question_types/matching/matching.module \matching_theme()
Implements hook_theme().
File
- question_types/
matching/ matching.module, line 75 - Matching question type for quiz module
Code
function matching_theme() {
return array(
'matching_question_form' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'matching') . '/theme',
'file' => 'matching.theme.inc',
),
'matching_response' => array(
'variables' => array(
'metadata' => NULL,
'data' => NULL,
),
'path' => drupal_get_path('module', 'matching') . '/theme',
'file' => 'matching.theme.inc',
),
'matching_subquestion_form' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'matching') . '/theme',
'file' => 'matching.theme.inc',
),
'matching_match_node_view' => array(
'variables' => array(
'subquestions' => NULL,
),
'path' => drupal_get_path('module', 'matching') . '/theme',
'file' => 'matching.theme.inc',
),
'matching_answering_form' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'matching') . '/theme',
'template' => 'matching-answering-form',
),
);
}