You are here

function course_uc_course_handlers in Course 8.3

Same name and namespace in other branches
  1. 8.2 modules/course_uc/course_uc.module \course_uc_course_handlers()
  2. 6 modules/course_uc/course_uc.module \course_uc_course_handlers()
  3. 7.2 modules/course_uc/course_uc.module \course_uc_course_handlers()
  4. 7 modules/course_uc/course_uc.module \course_uc_course_handlers()

Implements hook_course_handlers().

File

modules/course_uc/course_uc.module, line 448

Code

function course_uc_course_handlers() {
  return array(
    'object' => array(
      'payment' => array(
        'name' => 'Payment',
        'class' => 'CourseObjectUbercart',
      ),
    ),
    'settings' => array(
      'ubercart' => array(
        'name' => t('Ubercart'),
        'description' => t('Ubercart course settings.'),
        'callback' => 'course_uc_settings_form',
      ),
    ),
  );
}