You are here

function course_uc_course_handlers in Course 7

Same name and namespace in other branches
  1. 8.3 modules/course_uc/course_uc.module \course_uc_course_handlers()
  2. 8.2 modules/course_uc/course_uc.module \course_uc_course_handlers()
  3. 6 modules/course_uc/course_uc.module \course_uc_course_handlers()
  4. 7.2 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',
      ),
    ),
  );
}