You are here

function hook_quiz_begin in Quiz 8.5

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

Implements hook_quiz_begin().

Fired when a new quiz result is created.

Deprecated

Use hook_quiz_result_insert().

File

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

Code

function hook_quiz_begin($quiz, $result_id) {
}