You are here

function course_test_course_handlers in Course 6

Same name and namespace in other branches
  1. 7.2 tests/course_test/course_test.module \course_test_course_handlers()
  2. 7 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.'),
      ),
      'course_test_graded_object' => array(
        'name' => t('Test graded course object'),
        'class' => 'CourseObjectGradedTest',
        'description' => t('A test graded course object.'),
      ),
    ),
  );
}