You are here

function truefalse_theme in Quiz 7.5

Same name and namespace in other branches
  1. 8.4 question_types/truefalse/truefalse.module \truefalse_theme()
  2. 6.6 question_types/truefalse/truefalse.module \truefalse_theme()
  3. 6.4 question_types/truefalse/truefalse.module \truefalse_theme()
  4. 7.6 question_types/truefalse/truefalse.module \truefalse_theme()
  5. 7 question_types/truefalse/truefalse.module \truefalse_theme()
  6. 7.4 question_types/truefalse/truefalse.module \truefalse_theme()

Implements hook_theme().

File

question_types/truefalse/truefalse.module, line 53
TrueFalse question type for the 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(),
      ),
    ),
  );
}