function long_answer_quiz_question_info in Quiz 7.4
Same name and namespace in other branches
- 8.4 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
- 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.5 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
Implements hook_quiz_question_info().
1 call to long_answer_quiz_question_info()
- LongAnswerUnitTest::testLongAnswerQuizQuestionInfo in question_types/
long_answer/ long_answer.test - Check that hook_quiz_question_info is working.
File
- question_types/
long_answer/ long_answer.module, line 57 - 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' => 'LongAnswerQuestion',
'response provider' => 'LongAnswerResponse',
'module' => 'quiz_question',
),
);
}