You are here

function course_webform_course_handlers in Course 6

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

Implements hook_course_handlers().

File

modules/course_webform/course_webform.module, line 20

Code

function course_webform_course_handlers() {
  return array(
    'object' => array(
      'webform' => array(
        'name' => t('Webform'),
        'class' => 'CourseObjectWebform',
        'description' => t('A webform to be used in a course workflow.'),
      ),
    ),
    'settings' => array(
      'webform' => array(
        'name' => t('Webform'),
        'description' => t('Course webform configurations.'),
        'callback' => 'course_webform_settings',
      ),
    ),
    'context' => array(
      'webform' => array(
        'callback' => 'course_webform_context',
      ),
    ),
  );
}