You are here

function matching_theme in Quiz 7

Same name and namespace in other branches
  1. 8.6 question_types/quiz_matching/quiz_matching.module \matching_theme()
  2. 8.4 question_types/matching/matching.module \matching_theme()
  3. 8.5 question_types/quiz_matching/quiz_matching.module \matching_theme()
  4. 6.6 question_types/matching/matching.module \matching_theme()
  5. 6.3 question_types/matching/matching.module \matching_theme()
  6. 6.4 question_types/matching/matching.module \matching_theme()
  7. 6.5 question_types/matching/matching.module \matching_theme()
  8. 7.6 question_types/matching/matching.module \matching_theme()
  9. 7.4 question_types/matching/matching.module \matching_theme()
  10. 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',
    ),
  );
}