function hook_quiz_finished in Quiz 7.5
Same name and namespace in other branches
- 8.6 quiz.api.php \hook_quiz_finished()
- 8.5 quiz.api.php \hook_quiz_finished()
- 7.6 quiz.api.php \hook_quiz_finished()
Implements hook_quiz_finished().
Fired after the last question is submitted.
Deprecated
Use hook_quiz_result_update().
1 invocation of hook_quiz_finished()
- quiz_question_answering_form_finalize in question_types/
quiz_question/ quiz_question.module - Helper function to finalize a quiz attempt.
File
- ./
quiz.api.php, line 51 - quiz.api.php Hooks provided by Quiz module.
Code
function hook_quiz_finished($quiz, $score, $data) {
}