You are here

function hook_quiz_feedback_options in Quiz 8.5

Same name and namespace in other branches
  1. 8.6 quiz.api.php \hook_quiz_feedback_options()
  2. 7.5 quiz.api.php \hook_quiz_feedback_options()
  3. 6.x quiz.api.php \hook_quiz_feedback_options()

Expose a feedback option to Quiz so that Quiz administrators can choose when to show it to Quiz takers.

Return value

array An array of feedback options keyed by machine name.

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

File

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

Code

function hook_quiz_feedback_options() {
  return array(
    'percentile' => t('Percentile'),
  );
}