You are here

function course_certificate_course_handlers in Course 6

Same name and namespace in other branches
  1. 7.2 modules/course_certificate/course_certificate.module \course_certificate_course_handlers()
  2. 7 modules/course_certificate/course_certificate.module \course_certificate_course_handlers()

Implements hook_course_handlers().

File

modules/course_certificate/course_certificate.module, line 75

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',
      ),
    ),
  );
}