function long_answer_theme in Quiz 8.6
Same name and namespace in other branches
- 8.4 question_types/long_answer/long_answer.module \long_answer_theme()
- 8.5 question_types/quiz_long_answer/quiz_long_answer.module \long_answer_theme()
- 6.6 question_types/long_answer/long_answer.module \long_answer_theme()
- 6.3 question_types/long_answer/long_answer.module \long_answer_theme()
- 6.4 question_types/long_answer/long_answer.module \long_answer_theme()
- 6.5 question_types/long_answer/long_answer.module \long_answer_theme()
- 7.6 question_types/long_answer/long_answer.module \long_answer_theme()
- 7 question_types/long_answer/long_answer.module \long_answer_theme()
- 7.4 question_types/long_answer/long_answer.module \long_answer_theme()
- 7.5 question_types/long_answer/long_answer.module \long_answer_theme()
Implements hook_theme().
File
- question_types/
quiz_long_answer/ quiz_long_answer.module, line 52 - Long_answer question type for the Quiz module.
Code
function long_answer_theme() {
return array(
'long_answer_response_form' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'long_answer') . '/theme',
'file' => 'long_answer.theme.inc',
),
'long_answer_answering_form' => array(
'render element' => 'form',
'path' => drupal_get_path('module', 'long_answer') . '/theme',
'template' => 'long-answer-answering-form',
),
);
}