You are here

function quizfileupload_theme in Quiz File Upload 6

Same name and namespace in other branches
  1. 7.5 quizfileupload.module \quizfileupload_theme()

Implementation of hook_theme

File

./quizfileupload.module, line 55
The main file for quizfileupload.

Code

function quizfileupload_theme($existing, $type, $theme, $path) {
  $path = drupal_get_path('module', 'quizfileupload');
  return array(
    'quizfileupload_creation_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'path' => $path . '/theme',
      'file' => 'quizfileupload.theme.inc',
    ),
    'quizfileupload_answer_node_view' => array(
      'arguments' => array(
        'alternatives' => NULL,
        'show_correct' => NULL,
      ),
      'path' => $path . '/theme',
      'file' => 'quizfileupload.theme.inc',
    ),
    'quizfileupload_response' => array(
      'arguments' => array(
        'data' => array(),
      ),
      'path' => $path . '/theme',
      'file' => 'quizfileupload.theme.inc',
    ),
    'quizfileupload_answering_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'path' => $path . '/theme',
      'template' => 'quizfileupload-answering-form',
    ),
  );
}