function long_answer_quiz_question_info in Quiz 6.5
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()
- 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()
Implementation of hook_quiz_question_info().
1 call to long_answer_quiz_question_info()
- LongAnswerUnitTest::testQuizQuestionInfo 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 67 - This module defines a long answer question type for quizzes.
Code
function long_answer_quiz_question_info() {
return array(
'long_answer' => array(
'name' => 'Long answer question',
'description' => 'Quiz questions that allow a user to enter multiple paragraphs of text.',
'question provider' => 'LongAnswerQuestion',
'response provider' => 'LongAnswerResponse',
'module' => 'quiz_question',
),
);
}