function course_poll_course_handlers in Course 8.2
Same name and namespace in other branches
- 8.3 modules/course_poll/course_poll.module \course_poll_course_handlers()
- 6 modules/course_poll/course_poll.module \course_poll_course_handlers()
- 7.2 modules/course_poll/course_poll.module \course_poll_course_handlers()
- 7 modules/course_poll/course_poll.module \course_poll_course_handlers()
- 3.x modules/course_poll/course_poll.module \course_poll_course_handlers()
Implements hook_course_handlers().
File
- modules/
course_poll/ course_poll.module, line 6
Code
function course_poll_course_handlers() {
return array(
'object' => array(
'poll' => array(
'name' => t('Poll'),
'class' => 'Drupal\\course_poll\\Course\\Object\\CourseObjectPoll',
'fulfillment class' => 'Drupal\\course_poll\\Course\\Object\\CourseObjectPollFulfillment',
'description' => t('A poll to be used in a course workflow.'),
),
),
);
}