You are here

function theme_quiz_node_form in Quiz 6.4

Same name and namespace in other branches
  1. 8.4 quiz.admin.inc \theme_quiz_node_form()
  2. 7 quiz.admin.inc \theme_quiz_node_form()
  3. 7.4 quiz.admin.inc \theme_quiz_node_form()

Theme the quiz node form

Adds js to enhance the ux.

Parameters

$form: FAPI form array

File

./quiz.admin.inc, line 1888
Administrator interface for Quiz module.

Code

function theme_quiz_node_form($form) {
  $path = drupal_get_path('module', 'quiz') . '/theme/quiz_node_form.js';
  drupal_add_js($path);
  return theme('node_form', $form);
}