You are here

function cloze_theme in Cloze 7

Same name and namespace in other branches
  1. 6 cloze.module \cloze_theme()

Implementation of hook_theme().

File

./cloze.module, line 67

Code

function cloze_theme() {
  $path = drupal_get_path('module', 'cloze') . '/theme';
  return array(
    'cloze_response_form' => array(
      'render element' => 'form',
      'path' => $path,
      'file' => 'cloze.theme.inc',
    ),
    'cloze_user_answer' => array(
      'arguments' => array(
        'answer' => NULL,
        'correct' => NULL,
      ),
      'path' => $path,
      'file' => 'cloze.theme.inc',
    ),
    'cloze_answering_form' => array(
      'render element' => 'form',
      'path' => $path,
      'file' => 'cloze.theme.inc',
    ),
  );
}