You are here

function long_answer_quiz_question_info in Quiz 7.4

Same name and namespace in other branches
  1. 8.4 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
  2. 6.6 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
  3. 6.3 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
  4. 6.4 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
  5. 6.5 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
  6. 7.6 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
  7. 7 question_types/long_answer/long_answer.module \long_answer_quiz_question_info()
  8. 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',
    ),
  );
}