You are here

function course_get_context in Course 6

Same name and namespace in other branches
  1. 8.3 course.module \course_get_context()
  2. 8.2 course.module \course_get_context()
  3. 7.2 course.module \course_get_context()
  4. 7 course.module \course_get_context()
  5. 3.x course.module \course_get_context()

Gets the course context.

@todo support Context.

5 calls to course_get_context()
course_init in ./course.module
Implements hook_init().
course_preprocess_page in ./course.module
Implements hook_preprocess_page().
course_uc_form_alter in modules/course_uc/course_uc.module
Implements hook_form_alter().
_course_block_navigation_view in includes/course.block.inc
Course block callback: navigation view.
_course_block_outline_view in includes/course.block.inc
Course block callback: outline view.

File

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

Code

function course_get_context() {
  return course_set_context();
}