You are here

function scale_theme in Quiz 6.4

Same name and namespace in other branches
  1. 8.6 question_types/quiz_scale/quiz_scale.module \scale_theme()
  2. 8.4 question_types/scale/scale.module \scale_theme()
  3. 8.5 question_types/quiz_scale/quiz_scale.module \scale_theme()
  4. 6.6 question_types/scale/scale.module \scale_theme()
  5. 7.6 question_types/scale/scale.module \scale_theme()
  6. 7 question_types/scale/scale.module \scale_theme()
  7. 7.4 question_types/scale/scale.module \scale_theme()
  8. 7.5 question_types/scale/scale.module \scale_theme()

Implementation of hook_theme

File

question_types/scale/scale.module, line 42
The main file for scale.

Code

function scale_theme($existing, $type, $theme, $path) {
  return array(
    'scale_creation_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'path' => drupal_get_path('module', 'scale') . '/theme',
      'file' => 'scale.theme.inc',
    ),
    'scale_response_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'path' => drupal_get_path('module', 'scale') . '/theme',
      'file' => 'scale.theme.inc',
    ),
    'scale_answer_node_view' => array(
      'arguments' => array(
        'alternatives' => NULL,
      ),
      'path' => drupal_get_path('module', 'scale') . '/theme',
      'file' => 'scale.theme.inc',
    ),
    'scale_answering_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
      'path' => drupal_get_path('module', 'scale') . '/theme',
      'template' => 'scale-answering-form',
    ),
  );
}