function hook_quiz_access_alter in Quiz 8.5
Same name and namespace in other branches
- 8.6 quiz.api.php \hook_quiz_access_alter()
- 7.5 quiz.api.php \hook_quiz_access_alter()
Implements hook_quiz_access_alter().
Alter the access blockers for a Quiz.
File
- ./
quiz.api.php, line 194 - quiz.api.php Hooks provided by Quiz module.
Code
function hook_quiz_access_alter(&$hooks, $op, $quiz, $account) {
if ($op == 'take') {
unset($hooks['monday']);
}
}