You are here

function course_block_view in Course 7

Same name and namespace in other branches
  1. 7.2 course.module \course_block_view()

Implements hook_block_view().

File

./course.module, line 594
course.module Core functionality for Courses.

Code

function course_block_view($delta) {
  module_load_include('inc', 'course', 'includes/course.block');
  $function = "_course_block_{$delta}_view";
  if (function_exists($function)) {
    return $function($delta);
  }
}