function long_answer_quiz_question_info in Quiz 8.4
Same name and namespace in other branches
- 6.6 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 6.3 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 6.4 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 6.5 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 7.6 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 7 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 7.4 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 7.5 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
Implements hook_quiz_question_info().
File
- question_types/
long_answer/ long_answer.module, line 50 - This module defines a long answer question type for quizzes.
Code
function long_answer_quiz_question_info() {
return array(
'long_answer' => array(
'name' => t('Long answer question'),
'description' => t('Quiz questions that allow a user to enter multiple paragraphs of text.'),
'question provider' => 'Drupal\\long_answer\\LongAnswerQuestion',
'response provider' => 'Drupal\\long_answer\\LongAnswerResponse',
'module' => 'quiz_question',
),
);
}