You are here

function hook_quiz_feedback_times in Quiz 7.5

Same name and namespace in other branches
  1. 8.6 quiz.api.php \hook_quiz_feedback_times()
  2. 8.5 quiz.api.php \hook_quiz_feedback_times()

Allow modules to define feedback times.

Feedback times are configurable by Rules.

Return value

array An array of feedback times keyed by machine name.

1 invocation of hook_quiz_feedback_times()
quiz_get_feedback_times in ./quiz.module
Get the feedback options for Quizzes.

File

./quiz.api.php, line 122
quiz.api.php Hooks provided by Quiz module.

Code

function hook_quiz_feedback_times() {
  return array(
    '2_weeks_later' => t('Two weeks after finishing'),
  );
}