function _course_block_outline_view in Course 7
Same name and namespace in other branches
- 6 includes/course.block.inc \_course_block_outline_view()
- 7.2 includes/course.block.inc \_course_block_outline_view()
Course block callback: define outline view block.
File
- includes/
course.block.inc, line 10 - course blocks
Code
function _course_block_outline_view() {
if ($node = course_get_context()) {
if ($output = course_outline_list($node)) {
return array(
'subject' => t('Course outline'),
'content' => $output,
);
}
}
}