function course_book_course_handlers in Course 6
Same name and namespace in other branches
- 7.2 modules/course_book/course_book.module \course_book_course_handlers()
- 7 modules/course_book/course_book.module \course_book_course_handlers()
Implements hook_course_handlers().
File
- modules/
course_book/ course_book.module, line 23
Code
function course_book_course_handlers() {
return array(
'object' => array(
'book' => array(
'name' => t('Book'),
'description' => t('A book course object.'),
'class' => 'CourseObjectBook',
),
),
'context' => array(
'book' => array(
'callback' => 'course_book_context',
),
),
);
}