You are here

function course_test_course_handlers in Course 7

Same name and namespace in other branches
  1. 6 tests/course_test/course_test.module \course_test_course_handlers()
  2. 7.2 tests/course_test/course_test.module \course_test_course_handlers()

Implements hook_course_handlers().

File

tests/course_test/course_test.module, line 24

Code

function course_test_course_handlers() {
  return array(
    'object' => array(
      'course_test_object' => array(
        'name' => t('Test course object'),
        'class' => 'CourseObjectTest',
        'description' => t('A test course object.'),
        'fulfillment class' => 'CourseObjectTestFulfillment',
      ),
      'course_test_graded_object' => array(
        'name' => t('Test graded course object'),
        'class' => 'CourseObjectGradedTest',
        'description' => t('A test graded course object.'),
        'fulfillment class' => 'CourseObjectTestFulfillment',
      ),
    ),
  );
}