function hook_course_load
Search API
Allows modules to act after a course object has been loaded.
Specifically, this is called at the end of Course::load_course()
See also
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;
}
}