You are here

function truefalse_theme in Quiz 6.4

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. 7.6 question_types/truefalse/truefalse.module \truefalse_theme()
  4. 7 question_types/truefalse/truefalse.module \truefalse_theme()
  5. 7.4 question_types/truefalse/truefalse.module \truefalse_theme()
  6. 7.5 question_types/truefalse/truefalse.module \truefalse_theme()

Implementation of hook_theme().

File

question_types/truefalse/truefalse.module, line 61
TrueFalse question type for quiz module

Code

function truefalse_theme() {
  return array(
    'truefalse_answering_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'path' => drupal_get_path('module', 'truefalse') . '/theme',
      'template' => 'truefalse-answering-form',
    ),
    'truefalse_response' => array(
      'arguments' => array(
        'metadata' => array(),
        'data' => array(),
      ),
    ),
  );
}