You are here

function scale_theme in Quiz 8.4

Same name and namespace in other branches
  1. 8.6 question_types/quiz_scale/quiz_scale.module \scale_theme()
  2. 8.5 question_types/quiz_scale/quiz_scale.module \scale_theme()
  3. 6.6 question_types/scale/scale.module \scale_theme()
  4. 6.4 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()

Implements hook_theme().

File

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

Code

function scale_theme($existing, $type, $theme, $path) {
  return array(
    'scale_creation_form' => array(
      'render element' => 'form',
      'file' => 'scale.theme.inc',
    ),
    'scale_response_form' => array(
      'render element' => 'form',
      'file' => 'scale.theme.inc',
    ),
    'scale_answer_node_view' => array(
      'variables' => array(
        'alternatives' => NULL,
      ),
      'file' => 'scale.theme.inc',
    ),
    'scale_answering_form' => array(
      'render element' => 'form',
      'file' => 'scale.theme.inc',
    ),
  );
}