function hook_course_load

Allows modules to act after a course object has been loaded.

Specifically, this is called at the end of Course::load_course()

See also

hook_degree_plan_load()

File

includes/hook.api.php, line 649
Lists all available hooks within FlightPath's core code.

Code

function hook_course_load(&$course) {
  if ($course->subject_id == "YXZ") {
    $course->is_xyz = TRUE;
  }
}