function course_certificate_course_handlers in Course 7
Same name and namespace in other branches
- 6 modules/course_certificate/course_certificate.module \course_certificate_course_handlers()
- 7.2 modules/course_certificate/course_certificate.module \course_certificate_course_handlers()
Implements hook_course_handlers().
File
- modules/
course_certificate/ course_certificate.module, line 47
Code
function course_certificate_course_handlers() {
// Expose certificate as a course object.
return array(
'object' => array(
'certificate' => array(
'name' => t('Certificate'),
'description' => t('A certificate course object.'),
'class' => 'CourseObjectCertificate',
),
),
);
}