function course_quiz_course_handlers in Course 6
Same name and namespace in other branches
- 7.2 modules/course_quiz/course_quiz.module \course_quiz_course_handlers()
- 7 modules/course_quiz/course_quiz.module \course_quiz_course_handlers()
Implements hook_course_handlers().
File
- modules/
course_quiz/ course_quiz.module, line 20
Code
function course_quiz_course_handlers() {
return array(
'object' => array(
'quiz' => array(
'name' => t('Quiz'),
'class' => 'CourseObjectQuiz',
'description' => t('A Quiz course object.'),
),
),
'context' => array(
'quiz' => array(
'callback' => 'course_quiz_context',
),
),
);
}