You are here

function hook_quiz_begin in Quiz 7.5

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

Implements hook_quiz_begin().

Fired when a new quiz result is created.

Deprecated

Use hook_quiz_result_insert().

1 invocation of hook_quiz_begin()
QuizResultController::save in includes/QuizResultController.class.inc
Save the Quiz result and do any post-processing to the result.

File

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

Code

function hook_quiz_begin($quiz, $result_id) {
}