function quiz_question_nodeapi in Quiz 6.3
Same name and namespace in other branches
- 6.6 question_types/quiz_question/quiz_question.module \quiz_question_nodeapi()
- 6.4 question_types/quiz_question/quiz_question.module \quiz_question_nodeapi()
- 6.5 question_types/quiz_question/quiz_question.module \quiz_question_nodeapi()
Implementation of hook_nodeapi().
File
- question_types/
quiz_question/ quiz_question.module, line 369 - Quiz Question module. This module provides the basic facilities for adding quiz question types to a quiz. While you can create standard Quiz question types simply by implementing the appropriate hooks, this module provides a framework that makes…
Code
function quiz_question_nodeapi(&$node, $op) {
if ($op == 'delete revision') {
_quiz_question_get_instance($node)
->delete();
}
}